neil.walsh wrote: 20 Feb 2025, 22:47
Hi,
I've been able to replicate your issues and have a workaround I believe should work. I'll log a ticket internally to rectify this properly but hopefully the steps below should get you moving again.
Firstly, check you have Java 8 (1.8) installed, added to your PATH and your JAVA_HOME set. I think you have this already.
Next, Install Protege using the version with the included JVM. This is the version currently on our site as I write this. We will not be using this JVM but the installer for this version works properly. It may ask you to select your JVM during the install. You will still need to perform the steps below.
Once installed, navigate to the installation folder, e.g.
Edit the file called run_protege.bat as administrator in a text editor of your choice
Modify the line that starts "set JAVA_PATH = ..." to point to the "bin" folder of your Java installation. For example:
Code: Select all
set JAVA_PATH="C:\Program Files\Zulu\zulu-8\bin"
Whilst you are here, set the MAXIMUM_MEMORY to 2048M
Next, modify the run_protege_server.bat file, this time updating the line that starts "set JDKBIN=..." to point to the "bin" folder of your Java install.
Again, whilst you are here, set the MAX_MEMORY to 2048M
Now, running Protege, it will utilise the Java 8 install. You should see this reflected in the command line output.
Let me know if this helps
Best,
Neil
Thanks
I did that changes, but appear this error:
Loading project plugins for project essential_baseline_6_19
SEVERE: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: edu.stanford.smi.protege.server.Server_Stub
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at edu.stanford.smi.protege.server.Server.bindName(Unknown Source)
at edu.stanford.smi.protege.server.Server.startServer(Unknown Source)
at edu.stanford.smi.protege.server.Server.main(Unknown Source)
According to other questions in the forum where appear this error, I set in the run_protege_server.bat file this line:
set CODEBASE_URL="
http://localhost:8080/essential_viewer/protege.jar"
and copy the protege.jar to the viewer folder
C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\essential_viewer
but, I have the same error
Any suggestion?