Solved

the registry refers to a nonexistent java runtime environment

Posted on 2016-09-01
6
95 Views
Last Modified: 2016-09-04
Hi

I'm getting this error
the registry refers to a nonexistent java runtime environment

Attempting to run the first solution on here DirSync

other JAVA programs work fine

OS win 7

C:\>java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
0
Comment
Question by:trevor1940
  • 3
  • 3
6 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 41781355
That's why a registry is not a good thing ;)
Run the jar from the command line - should work as your java invocation works
0
 
LVL 1

Author Comment

by:trevor1940
ID: 41781386
DirSyncPro.exe is a   Windows executable I just double clicked this

Are you suggesting ignoring the java error and running dirsyncpro.jar from the same folder?
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 41781388
Yes. If it's been done properly, it should work with

java -jar dirsyncpro.jar

Open in new window

0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 1

Author Comment

by:trevor1940
ID: 41781696
Hi Running the jar file as suggested works

Are you suggesting ignoring the java error or do I need to deal with it?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 41781703
No you don't need to worry. If necessary, just write a batch file to start it or you can create a shortcut with the correct command.
It could be the exe wrapper that's faulty, rather than the registry itself
0
 
LVL 1

Author Closing Comment

by:trevor1940
ID: 41783982
Thanx or your help
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This video teaches viewers about errors in exception handling.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now