Solved

the registry refers to a nonexistent java runtime environment

Posted on 2016-09-01
6
239 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

696 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