Learning SAS? Welcome to the exclusive online community for all SAS learners.

Java virtual machine error on SAS studio online version

Reply
New Contributor
Posts: 3

Java virtual machine error on SAS studio online version

[ Edited ]

Hi All,

When I try run proc univariate using normal plots parameter, the following error occurs and non of the plots get generated. Is this a server side issue? if not, how do I fix it?

 

Thank you!

Hasitha.

 

 

1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
59
60 proc univariate data=dataset normal plot;
61 var lung_capacity;
62 run;
 
ERROR: Unable to load the Java Virtual Machine. Please see the installation instructions or system administrator.
ERROR: Unable to load the Java Virtual Machine. Please see the installation instructions or system administrator.
 
 
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE UNIVARIATE used (Total process time):
real time 0.06 seconds
user cpu time 0.07 seconds
system cpu time 0.01 seconds
memory 3098.25k
OS Memory 28580.00k
Timestamp 06/28/2017 12:57:02 AM
Step Count 24 Switch Count 36
Page Faults 0
Page Reclaims 327
Page Swaps 0
Voluntary Context Switches 97
Involuntary Context Switches 1
Block Input Operations 0
Block Output Operations 472
 
63 quit;
64
65 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
77
Super User
Posts: 19,770

Re: Java virtual machine error on SAS studio online version

What if you change plot to plotS?

 

I can't replicate your error though, can you post the results of the following and also indicate your OS and Version of Oracle Box?

 

proc setinit;run;
Occasional Contributor
Posts: 5

Re: Java virtual machine error on SAS studio online version

In my case I get no Results but the Log shows this:

NOTE: PROCEDURE SETINIT used (Total process time):
real time 0.00 seconds
user cpu time 0.01 seconds
system cpu time 0.00 seconds
memory 349.09k
OS Memory 30368.00k
Timestamp 06/28/2017 05:27:51 AM
Step Count 58 Switch Count 18
Page Faults 0
Page Reclaims 77
Page Swaps 0
Voluntary Context Switches 16
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 0
 
Original site validation data
Current version: 9.04.01M3P062415
Site name: 'SAS ONDEMAND FOR ACADEMICS'.
Site number: 70094220.
Expiration: 31DEC2017.
Grace Period: 45 days (ending 14FEB2018).
Warning Period: 46 days (ending 01APR2018).
System birthday: 08DEC2016.
Operating System: LIN X64 .
Product expiration dates:
---Base SAS Software
31DEC2017
---SAS/STAT
31DEC2017
---SAS/GRAPH
31DEC2017
---SAS/ETS
31DEC2017
---SAS/OR
31DEC2017
---SAS/IML
31DEC2017
---SAS/QC
31DEC2017
---SAS/CONNECT
31DEC2017
---SAS Enterprise Miner
31DEC2017
---SAS Integration Technologies
31DEC2017
---SAS/Secure 168-bit
31DEC2017
---SAS Enterprise Miner Server
31DEC2017
---SAS Enterprise Miner Client
31DEC2017
---SAS Credit Scoring
31DEC2017
---SAS Text Miner
31DEC2017
---SAS High-Performance Forecasting
31DEC2017
---SAS Enterprise Guide
31DEC2017
---Forecast Server CS
31DEC2017
---OR OPT
31DEC2017
---OR PRS
31DEC2017
---OR IVS
31DEC2017
---OR LSO
31DEC2017
---SAS/ACCESS Interface to PC Files
31DEC2017
---SAS/ACCESS Interface to MySQL
31DEC2017
---SAS Forecast Studio
31DEC2017
---SAS Forecast Server Mid-Tier
31DEC2017
---SAS/IML Studio
31DEC2017
---SAS Workspace Server for Local Access
31DEC2017
---SAS Workspace Server for Enterprise Access
31DEC2017
---SAS/ACCESS to Hadoop
31DEC2017
---SAS/ACCESS to Postgres
31DEC2017
---High Performance Suite
31DEC2017
---SAS Add-in for Microsoft Excel
31DEC2017
---SAS Search and Indexing Server
31DEC2017
---SAS Web Crawler Server
31DEC2017
---SAS LASR Analytic Server
31DEC2017
---SAS Time Series Workspace Macros
31DEC2017
---SAS Visual Analytics Hub
31DEC2017
---SAS Visual Analytics Services
31DEC2017
---Advanced Programming for LASR Analytic Server
31DEC2017
---High Performance Analytics Distributed Mode
31DEC2017
---SAS Visual Analytics Server Components
31DEC2017
---Visual Analytics Explorer
31DEC2017
 
Occasional Contributor
Posts: 5

Re: Java virtual machine error on SAS studio online version

[ Edited ]

I have the same problem. I have tried using SAS Studio from several different computers (Windows as well as OS X) with various browsers (Firefox and Safari) and am now always getting this same error on SAS programs that ran fine some weeks ago. SAS code that ran in May is now generating this error.  I get the error message during Proc GLM but not on Data steps nor Proc Print.

I created this simple program which generates the error for me:

data D1;
input x1 y1;
cards;
1 2.0
2 4.1
3 6.0
4 8.1
run;

proc glm data=D1;
model y1= x1;
run;

 

data D1;
input x1 y1;
cards;
1 2.0
2 4.1
3 6.0
4 8.1
run;

proc glm data=D1;
model y1= x1;
run;
data D1;
input x1 y1;
cards;
1 2.0
2 4.1
3 6.0
4 8.1
run;

proc glm data=D1;
model y1= x1;
run;
data D1;
input x1 y1;
cards;
1 2.0
2 4.1
3 6.0
4 8.1
run;

proc glm data=D1;
model y1= x1;
run;

 

data D1;
 input trt $ x y;
 cards;
 A 1 2.0
 A 2 4.1
 A 3 6.0
 A 4 8.1
 B 1 2.2
 B 2 4.3
 B 3 6.1
 B 4 8.2
run;

proc glm data=D1;
 class trt;
 model y= x trt;
 means trt /t;
run;

 

 It does generate parameter estimates in the Results before generating the error and then does not do any further analysis.

 

And to be clear, this is about SAS running on this SAS server:

https://odamid.oda.sas.com/

So I am sensing that the problem is with Java on that machine.

I do need to know if that is not the case because on many of my univeristy's managed machines, Java is not automatically available to web pages.

SAS Employee
Posts: 49

Re: Java virtual machine error on SAS studio online version

Hello, @Hasitha!

 

Would you mind confirming that the online version is SAS OnDemand for Academics? 

 

We have had a few users reporting a similar error message when using graph procedures and are currently investigating to find a solution!

 

Thank you,

 

Caroline

New Contributor
Posts: 3

Re: Java virtual machine error on SAS studio online version

Posted in reply to CarolineC
Hi Caroline,


Yes, it is SAS OnDemand for Academics.

Hope you guys have a solution soon. Please let me once you have one.

Thank you!


Best,

Hasitha.
New Contributor
Posts: 3

Re: Java virtual machine error on SAS studio online version

[ Edited ]

Has a solution been found for this problem yet? My codes were working fine till yesterday and this error pops up today. Unable to figure out the root cause.

 

Tried all browsers and different windows machines. Preferred system has a Windows 10 installed and the latest JRE version jre1.8.0_131. 

 

Using:
Current version: 9.04.01M3P062415
Site name: 'SAS ONDEMAND FOR ACADEMICS'.
Site number: 70094220.
Expiration: 31DEC2017.
 
This is what I am trying to run.
 
proc arima data=ANNDA.AnnuData2;
identify var=YP(1) nlag = 12 stationarity=(adf=6);
where cname in ('AMRX17');
run;
PolyMath
SAS Employee
Posts: 49

Re: Java virtual machine error on SAS studio online version

Posted in reply to naveen_tiruvenga

Hello, @naveen_tiruvenga!

 

No solution yet, but I will post back to this thread as soon as we do have one! I apologize for any inconvenience that this is causing.

 

Thank you,

 

Caroline

SAS Employee
Posts: 49

Re: Java virtual machine error on SAS studio online version

Hello, @Hasitha and @naveen_tiruvenga!

 

Our team has identified the problem and applied a workaround. Please log out of your current SAS session and relaunch so that the new settings can be applied. 

 

Please either post here or open a support track by emailing support@sas.com if you are still receiving this error:

ERROR: Unable to load the Java Virtual Machine. Please see the installation instructions or system administrator. 

 

Thank you!

 

Caroline

New Contributor
Posts: 3

Re: Java virtual machine error on SAS studio online version

Posted in reply to CarolineC
@CarolineC

I logged out of my session and logged back in and things seem to be working fine for now.

I shall check back in if I see any problems anytime soon.

Is it possible you cold let us know what the nature of the problem was so that we are advised that it is not a problem at the user end.

Thanks much for the prompt help.
PolyMath
SAS Employee
Posts: 49

Re: Java virtual machine error on SAS studio online version

[ Edited ]
Posted in reply to naveen_tiruvenga

Hello, @naveen_tiruvenga!

 

I'm glad it's working for you now! It definitely wasn't caused by an error on your end!

 

The error message was caused by a kernel update that was causing the Java Virtual Machine not to launch. 

 

Hope this helps!

 

Caroline

New Contributor
Posts: 3

Re: Java virtual machine error on SAS studio online version

Posted in reply to CarolineC
Hi Caroline,


It's working now.

Thank you very much for the support.


Best,

Hasitha.
SAS Employee
Posts: 49

Re: Java virtual machine error on SAS studio online version

Hello, @Hasitha!

 

Glad to hear it's working for you now! It's my pleasure to help.

 

Thank you!

 

Caroline

Occasional Contributor
Posts: 5

Re: Java virtual machine error on SAS studio online version

Posted in reply to CarolineC

I am also no longer seeing the problem. Thanks for the quick fix.

Heiner Lieth

 

New Contributor
Posts: 4

Re: Java virtual machine error on SAS studio online version

Posted in reply to CarolineC

Hi,

 

Can you share your workaround soution to us? 

 

Software: SAS Enterprise Guide 7.13 HF3 & SAS 9.4

 

Problem:

proc sgplot data=work.arrest_original_0000;

        vbox Arrest / category=Date; run;

 

ERROR: Unable to load the Java Virtual Machine. Please see the installation instructions or system administrator.

 

Thanks

 

Ask a Question
Discussion stats
  • 15 replies
  • 830 views
  • 4 likes
  • 6 in conversation