BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
saspert
Pyrite | Level 9

Hello,

We have SAS9.4M4 on Windows NT 2012 servers. Midtier, compute and metadata are all on separate servers. I tried to look up the past hotfixes but cannot run viewregistry utility in the /deploymentreg/ folder (either manually or from command line). Any suggestions on how to fix this? I tried lookup for the Junit Jar file but not too sure if it is related or needed. 

Thanks,

saspert

1 ACCEPTED SOLUTION

Accepted Solutions
Anand_V
Ammonite | Level 13

You will have to configure your JAVA_HOME environment variable or use the full path to your java executable. 

 

https://stackoverflow.com/questions/15796855/java-is-not-recognized-as-an-internal-or-external-comma...

 

You can also use java installed with SAS. Example:

"E:\SASHome\SASPrivateJavaRuntimeEnvironment\9.4\jre\bin\java" -jar sas.tools.viewregistry.jar

View solution in original post

3 REPLIES 3
Anand_V
Ammonite | Level 13

Hi @saspert 

 

How are you running the registry and what is the error you are seeing?

 

https://support.sas.com/kb/35/968.html

saspert
Pyrite | Level 9

@Anand_V  Thanks for sharing the article. I navigate to the deploymentreg folder using CMD on the windows NT server and run the following command.

E:\>cd E:\SASHome\deploymntreg

E:\SASHome\deploymntreg>java -jar sas.tools.viewregistry.jar
'java' is not recognized as an internal or external command,
operable program or batch file.

 

Anand_V
Ammonite | Level 13

You will have to configure your JAVA_HOME environment variable or use the full path to your java executable. 

 

https://stackoverflow.com/questions/15796855/java-is-not-recognized-as-an-internal-or-external-comma...

 

You can also use java installed with SAS. Example:

"E:\SASHome\SASPrivateJavaRuntimeEnvironment\9.4\jre\bin\java" -jar sas.tools.viewregistry.jar

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 729 views
  • 0 likes
  • 2 in conversation