This site requires javascript to be enabled to fuction correctly


Knowledgebase: ALMA Observing Tool (OT)
Why won't the OT work with Java 9?
Posted by Paul Fisher, Last modified by Sarah Wood on 16 April 2018 03:46 PM
There is a bug in Java 9 which prevents the OT from opening when you try to run it. The only solution is to ensure that you have Java 8 on your system and use it to run the OT.
The download stops with an Application Error with the reason: factory already defined.

In the details you will get the following exception:

java.lang.Error: factory already defined
at java.base/java.net.URL.setURLStreamHandlerFactory(Unknown Source)
at alma.obsprep.ot.gui.toplevel.ObservingToolWebstart.bug4648098(ObservingToolWebstart.java:52)
at alma.obsprep.ot.gui.toplevel.ObservingToolWebstart.main(ObservingToolWebstart.java:36)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at jdk.javaws@9.0.4/com.sun.javaws.Launcher.executeApplication(Unknown Source)
at jdk.javaws@9.0.4/com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at jdk.javaws@9.0.4/com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at jdk.javaws@9.0.4/com.sun.javaws.Launcher.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)

You can check which version of Java you have by typing "java -version" at the command line, as described in the OT Troubleshooting instructions at http://almascience.org/proposing/observing-tool/troubleshooting
(0 vote(s))
Helpful
Not helpful

Comments (0)