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

the registry refers to a nonexistent java runtime environment

Posted on 2016-09-01
Last Modified: 2016-09-04

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)
Question by:trevor1940
  • 3
  • 3
LVL 86

Expert Comment

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

Author Comment

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?
LVL 86

Accepted Solution

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.


Author Comment

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?
LVL 86

Expert Comment

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

Author Closing Comment

ID: 41783982
Thanx or your help

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SBS 2003 Windows 7 issues 7 33
Notify sent to other threads in Java 9 33
Bot application - advice 3 37
battery - windows 7 windows not genuine 6 49
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

789 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