the registry refers to a nonexistent java runtime environment


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)
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

That's why a registry is not a good thing ;)
Run the jar from the command line - should work as your java invocation works
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?
Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

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?
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
trevor1940Author Commented:
Thanx or your help
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.