the registry refers to a nonexistent java runtime environment

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)
LVL 1
trevor1940Asked:
Who is Participating?
 
CEHJConnect With a Mentor Commented:
Yes. If it's been done properly, it should work with

java -jar dirsyncpro.jar

Open in new window

0
 
CEHJCommented:
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
 
trevor1940Author Commented:
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
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
trevor1940Author Commented:
Hi Running the jar file as suggested works

Are you suggesting ignoring the java error or do I need to deal with it?
0
 
CEHJCommented:
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
 
trevor1940Author Commented:
Thanx or your help
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.