Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #2149 > unrolled thread

OpenGL issues on Java 1.7.0_7 on OS X...

Started bypiscesboy <oraclmaster@gmail.com>
First post2012-10-11 11:56 -0700
Last post2012-10-12 00:08 -0700
Articles 3 — 3 participants

Back to article view | Back to comp.lang.java.help


Contents

  OpenGL issues on Java 1.7.0_7 on OS X... piscesboy <oraclmaster@gmail.com> - 2012-10-11 11:56 -0700
    Re: OpenGL issues on Java 1.7.0_7 on OS X... Lew <lewbloch@gmail.com> - 2012-10-11 14:45 -0700
    Re: OpenGL issues on Java 1.7.0_7 on OS X... Roedy Green <see_website@mindprod.com.invalid> - 2012-10-12 00:08 -0700

#2149 — OpenGL issues on Java 1.7.0_7 on OS X...

Frompiscesboy <oraclmaster@gmail.com>
Date2012-10-11 11:56 -0700
SubjectOpenGL issues on Java 1.7.0_7 on OS X...
Message-ID<0238e6c0-337e-44f2-8333-527944f70ea8@googlegroups.com>
So I was compiling my application that utilizes Java3D classes located in the lib/ext folder for my JVM, and the classes compile fine, but on running the application, this error:

Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/opengl/GLCapabilitiesChooser
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:186)
	at javax.media.j3d.Pipeline$1.run(Pipeline.java:143)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.media.j3d.Pipeline.createPipeline(Pipeline.java:138)
	at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:926)
	at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:280)
	at javax.media.j3d.Canvas3D.<clinit>(Canvas3D.java:3862)
	at SimpleSphere.<init>(SimpleSphere.java:41)
	at SimpleSphere.main(SimpleSphere.java:137)
Caused by: java.lang.ClassNotFoundException: javax.media.opengl.GLCapabilitiesChooser
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

pops up. This is only an issue for Java 1.7.0_7, which is not the standard Apple issue of the JVM. When I use the JVM bundled with OS X, everything proceeds normally. There is some opengl interface missing it seems from the 1.7.0_7 release (from Oracle), that I can't seem to rectify.

[toc] | [next] | [standalone]


#2150

FromLew <lewbloch@gmail.com>
Date2012-10-11 14:45 -0700
Message-ID<92c590d3-505e-4745-bfe2-58bdd7b1478a@googlegroups.com>
In reply to#2149
piscesboy wrote:
> So I was compiling my application that utilizes Java3D classes located in the lib/ext folder for my JVM, and the classes compile fine, but on running the application, this error:
> 
> Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/opengl/GLCapabilitiesChooser

javax.media and subpackages are not part of Java SE.

> ...
> pops up. This is only an issue for Java 1.7.0_7, which is not the standard Apple issue of the JVM. When I use the JVM bundled with OS X, everything proceeds normally. There is some opengl interface missing it seems from the 1.7.0_7 release (from Oracle), that I can't seem to rectify.

You only need to search for it, then you can rectify it.

The Java system does not include every library ever written for it. I wager that the download 
from Oracle is also "missing" the stuff you're writing.

http://lmgtfy.com/?q=Java+javax.media.opengl

-- 
Lew

[toc] | [prev] | [next] | [standalone]


#2151

FromRoedy Green <see_website@mindprod.com.invalid>
Date2012-10-12 00:08 -0700
Message-ID<odgf785b74vqf25sb03793rtuvb92dakrg@4ax.com>
In reply to#2149
On Thu, 11 Oct 2012 11:56:36 -0700 (PDT), piscesboy
<oraclmaster@gmail.com> wrote, quoted or indirectly quoted someone who
said :

>So I was compiling my application that utilizes Java3D classes

see http://mindprod.com/jgloss/java3d.html

you need an aux download.  Apple must have kindly installed it for you
on the original.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
The iPhone 5 is a low end Rolex. 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.help


csiph-web