Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.

Unable to launch on Windows #10

Open
justarandomgeek opened this issue Aug 17, 2018 · 1 comment
Open

Unable to launch on Windows #10

justarandomgeek opened this issue Aug 17, 2018 · 1 comment

Comments

@justarandomgeek
Copy link

When i try to launch Visolate on my Win10 PC, i get the following error:

C:\Users\Thomas>java -jar "C:\Users\Thomas\Downloads\visolate-3.1.1.jar"
Aug 17, 2018 12:24:40 PM javax.media.j3d.NativePipeline getSupportedOglVendor
SEVERE: java.lang.UnsatisfiedLinkError: no j3dcore-ogl-chk in java.library.path
Exception in thread "main" java.lang.ExceptionInInitializerError
        at visolate.Display.<init>(Display.java:97)
        at visolate.Visolate.<init>(Visolate.java:66)
        at visolate.Visolate.<init>(Visolate.java:60)
        at visolate.Main.main(Main.java:118)
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: javax.media.j3d.Win32NativeConfigTemplate3D
        at javax.media.j3d.NativeConfigTemplate3D$1.run(NativeConfigTemplate3D.java:82)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.media.j3d.NativeConfigTemplate3D.createNativeConfigTemplate3D(NativeConfigTemplate3D.java:74)
        at javax.media.j3d.NativePipeline.initialize(NativePipeline.java:127)
        at javax.media.j3d.Pipeline.createPipeline(Pipeline.java:170)
        at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:965)
        at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:299)
        ... 4 more
Caused by: java.lang.ClassNotFoundException: javax.media.j3d.Win32NativeConfigTemplate3D
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at javax.media.j3d.NativeConfigTemplate3D$1.run(NativeConfigTemplate3D.java:79)
        ... 10 more

Looks like i'm missing some libraries, but i'm not sure how/where to get them?

@blinkenlight
Copy link

For the benefit of anyone following up on this problem, that's the Java3D library missing. You might even have it actually installed, Visolate just can't find it. Including it in the CLASSPATH environment variable will do nothing as launching java with the "-jar" parameter makes it ignore CLASSPATH. What worked for me (beside making sure I have a 32-bit JRE installed, NOT a 64-bit one) was copying j3dcore.jar, j3dutils.jar and vecmath.jar copied next to Visolate, then extracting them all (jars are zip files) with 7-zip right there, in visolate.jar's folder. You do still need to have Java3D installed, as you still need all those j3dcore-xxxxx.dll files to be in place, somewhere where Windows can find them.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants