Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protege run scripts fail for users with only a JRE installed (no JDK) #51

Closed
jvendetti opened this issue May 31, 2014 · 0 comments
Closed
Assignees
Labels
Type: Bug Indicates that Protege is not working as expected

Comments

@jvendetti
Copy link
Member

After publishing the first Protege 5.0 beta build, an end-user reported the following error on the mailing list when trying to launch Protege with the run.bat file:

C:\Software\Protege_5.0_beta>run.bat

C:\Software\Protege_5.0_beta>java -server -Dlog4j.configuration=file:log4j.xml -
DentityExpansionLimit=100000000 -Dfile.encoding=utf-8 -Dorg.protege.plugin.dir=p
lugins -classpath bin/felix.jar;bin/ProtegeLauncher.jar org.protege.osgi.framewo
rk.LauncherError: missing `server' JVM at `C:\Program Files(x86)\Java\jre7\bin\server\jvm.
dll'.

Please install or use the JRE or JDK that contains these missing components.

The error occurs because we use the Java "-server" option in the run scripts, which requires a JDK. Some users only have a JRE installed.

The option was originally added based on a claim that it would give better performance for long-lived applications, but there was no noticeable difference with Protege. The option should be removed so that the Protege run scripts will still execute on systems with only a JRE installed.

@jvendetti jvendetti added the bug label May 31, 2014
@jvendetti jvendetti self-assigned this May 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Indicates that Protege is not working as expected
Projects
None yet
Development

No branches or pull requests

1 participant