Architecting, installing and maintaining your SAS environment

SAS 9.4 Java Issues

Accepted Solution Solved
Reply
Contributor
Posts: 41
Accepted Solution

SAS 9.4 Java Issues

I recently installed Java 9.4 on several machines for my work group.

Of course the install went fine on all but my primary desktop where I need SAS to work the most.  It was a wonky install from the beginning and I had to make several attempts before it made it all the way throught.

 

The error in the log that I get when I open SAS is

 

ERROR: Java repository file(s) are missing or inaccessible.
ERROR: Unable to initialize the ODS classpath during SAS startup.
ERROR: Exception text: For one or more plug-in requests, no matching Plug-ins were found in
       repository

I have tried/reviewed

(1) Reinstalling w/o unistalling to see if it would repair.

(2) The recomendations in this SAS note https://support.sas.com/kb/46/598.html
(3) https://support.sas.com/kb/48/548.html

(4) https://support.sas.com/kb/44/853.html

(5) https://support.sas.com/documentation/cdl/en/hostwin/63047/HTML/default/viewer.htm#n1khwpgqb1bv35n1b...

I'm not certain any of the suggestions in 9.3 notes will fix my 9.4 installations since 48548 says 9.4 is using a "privatejre".

I am not a networking person or particularly good at diagnosing these sorts of problems.  It's frustrating that the install went fine on other machines, but at least that indicates that the installation disks are okay.

 

What is a solution?

 

 


Accepted Solutions
Solution
2 weeks ago
Occasional Contributor
Posts: 6

Re: SAS 9.4 Java Issues

I installed SAS 9.4TS1M4 updating a previous install of SAS 9.4. There was an error in the post-processing of the install (last step), and then when I started SAS.

 

Please note that I indicated in my response that I was able to fix my problem without having to re-install SAS based on http://support.sas.com/kb/59/113.html . I posted my response in this thread since I thought it would be useful for others to know that a re-install of SAS might not be necessary to address this problem.

 

Thank you! 

View solution in original post


All Replies
Super User
Posts: 10,538

Re: SAS 9.4 Java Issues

SAS in my limited experience is picky about the version of Java. Your original config file should point to a workable version. If that is no longer on the machine you may need to reinstall the old version.

Contributor
Posts: 41

Re: SAS 9.4 Java Issues

[ Edited ]

I'm not sure what the problem was.  A simple uninstall/reinstall through the deployment manager was not sufficient so I went witha a kitchen sink approach.

So I did another uninstall using the deployment manager so that it would tell me no version of SAS was on the machine.  I reviewed the installed programs via the control panal, where I found SAS and other items were still listed.  The windows program manager would not uninstall them or delist them.  So, I found and deleted the SAS 9.4 directories manually, went back to the control panal which agreed to delist them at that point.  For good measure I uninstalled JAVA using the control panal.

 

Then I reinstalled SAS 9.4 and it works.

Hardly an educated solution and nothing was learned, but that's what I had to do for posterity.

Occasional Contributor
Posts: 6

Re: SAS 9.4 Java Issues

I had the same problem and followed the instructions in http://support.sas.com/kb/59/113.html .

That fixed it.

Frequent Learner
Posts: 1

Re: SAS 9.4 Java Issues

I have the same problem for SAS 9.4 1M4. I followed the instructions in the link you provided and rename the file.

In addition, open C:\Program Files\SASHome\sassw.cfg , replace all "Program Files" with "PROGRA~1", because the blank in between will cause trouble in java compiler. for reference https://support.sas.com/kb/17/004.html

then open C:\Program Files\SASHome\SASFoundation\9.4\nls\en\sasv9.cfg, and replace

-SET SASROOT "C:\Program Files\SASHome\SASFoudation\9.4"
-SET SASHOME "C:\Program Files\SASHome"

with

-SET SASROOT "C:\PROGRA~1\SASHome\SASFOU~1\9.4"
-SET SASHOME "C:\PROGRA~1\SASHome"

 

restart SAS session, and the problem fixed!

Trusted Advisor
Posts: 1,141

Re: SAS 9.4 Java Issues

Hello,

 

I am wondering what could be the main difference between other desktops and yours. Did you had an previous installation of SAS or are you installing something new?

 

In the meantime, I would propose you to completely remove your SAS installation ( http://support.sas.com/kb/37/352.html ) and then re-install. Ensure you have any pre-requisite ready before you install (as the 8.3 name convention).

 

If you get any errors during the installation, you can send us or SAS Technical Support the logs of your installation and summarizing the errors you found ( http://support.sas.com/kb/52/654.html ).

 

 

Solution
2 weeks ago
Occasional Contributor
Posts: 6

Re: SAS 9.4 Java Issues

I installed SAS 9.4TS1M4 updating a previous install of SAS 9.4. There was an error in the post-processing of the install (last step), and then when I started SAS.

 

Please note that I indicated in my response that I was able to fix my problem without having to re-install SAS based on http://support.sas.com/kb/59/113.html . I posted my response in this thread since I thought it would be useful for others to know that a re-install of SAS might not be necessary to address this problem.

 

Thank you! 

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 6 replies
  • 2443 views
  • 3 likes
  • 5 in conversation