Page 1 of 1

Windows 10 Install

Posted: 18 Mar 2020, 17:53
by FrancoisP
Hi,

We just upgraded our workstations to Windows 10 and when I try to install Protege (version 3.4 or 3.5) I get an error from the LaunchAnywhere that says "Windows error 2 occured while loading the Java VM". I tried many combinations but without success (Protege v3.4, v3.5, Java version 7, version 8, etc.). Is there a problem with running Protege on W10?

Thank you for your help.

- Francois


LaunchAnywhereError.PNG

Re: Windows 10 Install

Posted: 25 Mar 2020, 16:24
by neil.walsh
Hi Francois,

We're working on a proper solution to address this however in the interim, you could try the following.

Install Protege 3.5 with built in java
https://essential-cdn.s3.eu-west-2.amaz ... 64-JVM.exe

During the install process, Protege will ask you to choose a Java VM. You should select the option "Use the Java VM installed with this application".

This should then allow you to start Protege as normal.

Let me know if this works for you

Cheers

Neil

Re: Windows 10 Install

Posted: 09 Apr 2020, 00:57
by FrancoisP
Hi Neil,

Thank you for the information. I tried with the file you mentioned and was able to install Protege on my workstation. Unfortunately, I ran in trouble when I tried to open a file that was not already listed in the examples that come with Protege. I got the following exception when I clicked on File | Open from the menu:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at sun.awt.shell.Win32ShellFolder2.<init>(Unknown Source)
at sun.awt.shell.Win32ShellFolderManager2.getDrives(Unknown Source)
at sun.awt.shell.Win32ShellFolderManager2.isFileSystemRoot(Unknown Source)
at sun.awt.shell.ShellFolder.isFileSystemRoot(Unknown Source)
at javax.swing.filechooser.FileSystemView.isFileSystemRoot(Unknown Source)
at javax.swing.filechooser.FileSystemView.getRoots(Unknown Source)
at javax.swing.plaf.metal.MetalFileChooserUI.updateUseShellFolder(Unknown Source)
at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(Unknown Source)
at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
at javax.swing.plaf.metal.MetalFileChooserUI.installUI(Unknown Source)
at javax.swing.JComponent.setUI(Unknown Source)
at javax.swing.JFileChooser.updateUI(Unknown Source)
at javax.swing.JFileChooser.setup(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at edu.stanford.smi.protege.util.ProjectChooser.<init>(Unknown Source)

Thank you for your help and support.

Sincerely,

- Francois