compile error

Problems with Java, jogl, etc?
Post Reply
eNORm
Posts: 1
Joined: Tue 22. Oct 2013, 16:37

compile error

Post by eNORm » Tue 22. Oct 2013, 16:41

Hi,

I'm trying to setup Jreality for a science exhibit using this tutorial:
http://www3.math.tu-berlin.de/jreality/ ... e-tutorial

I've installed Oracle JDK

Code: Select all

expology@jreality ~/jreality $ java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
expology@jreality ~/jreality $ javac -version
javac 1.6.0_45
expology@jreality ~/jreality $ 
But I cant compile the tutorials

Code: Select all

expology@jreality ~/jreality $ javac -Xlint:deprecation tutorial/de/jreality/tutorial/*/*.java
tutorial/de/jreality/tutorial/misc/ODEExample.java:13: package de.jtem.numericalMethods.calculus.odeSolving does not exist
import de.jtem.numericalMethods.calculus.odeSolving.Extrap;
                                                   ^
tutorial/de/jreality/tutorial/misc/ODEExample.java:14: package de.jtem.numericalMethods.calculus.odeSolving does not exist
import de.jtem.numericalMethods.calculus.odeSolving.ODE;
                                                   ^
tutorial/de/jreality/tutorial/misc/NonEuclideanExample.java:265: warning: [deprecation] setFalloff(double[]) in de.jreality.scene.PointLight has been deprecated
                pointLight.setFalloff(falloffs[metric+1]);
                          ^
tutorial/de/jreality/tutorial/misc/ODEExample.java:29: cannot find symbol
symbol  : class Extrap
location: class de.jreality.tutorial.misc.ODEExample
                final Extrap extrap = new Extrap(2);
                      ^
tutorial/de/jreality/tutorial/misc/ODEExample.java:29: cannot find symbol
symbol  : class Extrap
location: class de.jreality.tutorial.misc.ODEExample
                final Extrap extrap = new Extrap(2);
                                          ^
tutorial/de/jreality/tutorial/misc/ODEExample.java:31: cannot find symbol
symbol  : class ODE
location: class de.jreality.tutorial.misc.ODEExample
                final ODE ode = new ODE() {
                      ^
tutorial/de/jreality/tutorial/misc/ODEExample.java:31: cannot find symbol
symbol  : class ODE
location: class de.jreality.tutorial.misc.ODEExample
                final ODE ode = new ODE() {
                                    ^
tutorial/de/jreality/tutorial/viewer/OffscreenRenderAlternateCameraPath.java:151: cannot access javax.media.opengl.GLAutoDrawable
class file for javax.media.opengl.GLAutoDrawable not found
              null, 1600, 1200, 4, viewer.getDrawable(), camPath2);
                                                     ^
7 errors
1 warning
What's wrong?

-eNORm-

Andre
Posts: 226
Joined: Fri 18. Sep 2009, 11:30

Re: compile error

Post by Andre » Thu 24. Oct 2013, 19:56

The command-line Tutorial is not uptodate. I'll update it as soon as I return to Germany 03rd November. Meanwhile please use the eclipse setup tutorial from our website:

http://www3.math.tu-berlin.de/jreality/ ... p_tutorial

best
Andre

Andre
Posts: 226
Joined: Fri 18. Sep 2009, 11:30

Re: compile error

Post by Andre » Wed 6. Nov 2013, 19:53

The tutorial is now up-to-date!

Sorry that I couldn't fix it earlier.

Best and GL with your exhibition

Andre

EDIT:

Your failure above comes from a not removed audio example:
rm tutorial/de/jreality/tutorial/misc/ODEExample.java
Here is the link to the "Command line tutorial":
http://www3.math.tu-berlin.de/jreality/ ... e-tutorial

Post Reply