Skip to main content

Can't build--what am I doing wrong?

1 reply [Last post]
Anonymous

I've done this before. Why can't I build it now?

william@dell:~/lg3d/lg3d-core$ echo $JAVA_HOME
/home/william/jdk1.6.0_04/
william@dell:~/lg3d/lg3d-core$ ls $JAVA_HOME/lib/ext
j3dcore.jar j3dutils.jar vecmath.jar
william@dell:~/lg3d/lg3d-core$

Ant knows where my JDK is and Java3D 1.5 is installed.

Still when I try to build, I get a host of errors like:

UniverseFactory.java:22: package com.sun.j3d.utils.universe does not exist
[javac] import com.sun.j3d.utils.universe.ConfiguredUniverse;
[javac] ^
[javac] /home/william/lg3d/lg3d-core/src/classes/org/jdesktop/lg3d/displayserver/UniverseFactory.java:24:
package javax.media.j3d does not exist
[javac] import javax.media.j3d.Canvas3D;
[javac] ^
[javac] /home/william/lg3d/lg3d-core/src/classes/org/jdesktop/lg3d/displayserver/

javac can't find Java3D.

I could have sworn at one point there were separate JRE and JDK
versions of Java3D. Now I can't find separate download buttons--could
that be where I'm screwing up?

Ant diagnostics are:

william@dell:~/lg3d/lg3d-core$ ant -diagnostics
------- Ant diagnostics report -------
Apache Ant version 1.6.5 compiled on July 5 2006

-------------------------------------------
Implementation Version (JDK1.2+ only)
-------------------------------------------
core tasks : 1.6.5
optional tasks : 1.6.5

-------------------------------------------
ANT_HOME/lib jar listing
-------------------------------------------
ant.home: /usr/share/ant
ant-launcher.jar (9180 bytes)
ant.jar (1060964 bytes)
ant-apache-log4j.jar (3012 bytes)
ant-bootstrap.jar (15970 bytes)
ant-antlr.jar (5758 bytes)
ant-apache-bcel.jar (8765 bytes)
ant-apache-bsf.jar (12574 bytes)
ant-apache-regexp.jar (3748 bytes)
ant-apache-oro.jar (48180 bytes)
ant-commons-logging.jar (3990 bytes)
ant-javamail.jar (6811 bytes)
ant-jdepend.jar (8172 bytes)
ant-nodeps.jar (421921 bytes)
ant-swing.jar (6768 bytes)
ant-jmf.jar (6520 bytes)
ant-apache-resolver.jar (4064 bytes)
ant-commons-net.jar (35519 bytes)
ant-jsch.jar (22991 bytes)
ant-junit.jar (72936 bytes)
ant-trax.jar (68529 bytes)

-------------------------------------------
Tasks availability
-------------------------------------------
image : Not Available
sshexec : Missing dependency com.jcraft.jsch.UserInfo
wlrun : Not Available
icontract : Not Available
scp : Missing dependency com.jcraft.jsch.UserInfo
vajload : Not Available
stlist : Not Available
netrexxc : Not Available
starteam : Not Available
stylebook : Not Available
stlabel : Not Available
jdepend : Missing dependency jdepend.xmlui.JDepend
junit : Missing dependency junit.framework.Test
stcheckin : Not Available
vajexport : Not Available
stcheckout : Not Available
ejbc : Not Available
vajimport : Not Available
wlstop : Not Available
ddcreator : Not Available

-------------------------------------------
org.apache.env.Which diagnostics
-------------------------------------------
Not available.
Download it at http://xml.apache.org/commons/

-------------------------------------------
XML Parser information
-------------------------------------------
XML Parser : org.apache.xerces.jaxp.SAXParserImpl
XML Parser Location: /usr/share/java/xercesImpl.jar

-------------------------------------------
System properties
-------------------------------------------
java.runtime.name : Java(TM) SE Runtime Environment
sun.boot.library.path : /home/william/jdk1.6.0_04/jre/lib/i386
java.vm.version : 10.0-b19
ant.library.dir : /usr/share/ant/lib
java.vm.vendor : Sun Microsystems Inc.
java.vendor.url : http://java.sun.com/
path.separator : :
java.vm.name : Java HotSpot(TM) Server VM
file.encoding.pkg : sun.io
user.country : US
sun.java.launcher : SUN_STANDARD
sun.os.patch.level : unknown
java.vm.specification.name : Java Virtual Machine Specification
user.dir : /home/william/lg3d/lg3d-core
java.runtime.version : 1.6.0_04-b12
java.awt.graphicsenv : sun.awt.X11GraphicsEnvironment
java.endorsed.dirs : /home/william/jdk1.6.0_04/jre/lib/endorsed
os.arch : i386
java.io.tmpdir : /tmp
line.separator :

java.vm.specification.vendor : Sun Microsystems Inc.
os.name : Linux
ant.home : /usr/share/ant
sun.jnu.encoding : UTF-8
java.library.path :
/home/william/jdk1.6.0_04/jre/lib/i386/server:/home/william/jdk1.6.0_04/jre/lib/i386:/home/william/jdk1.6.0_04/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
java.specification.name : Java Platform API Specification
java.class.version : 50.0
sun.management.compiler : HotSpot Tiered Compilers
os.version : 2.6.20-16-generic
user.home : /home/william
user.timezone :
java.awt.printerjob : sun.print.PSPrinterJob
file.encoding : UTF-8
java.specification.version : 1.6
user.name : william
java.class.path :
/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/xmlParserAPIs.jar:/usr/share/java/xercesImpl.jar:/home/william/jdk1.6.0_04/lib/ext/j3dcore.java:/home/william/jdk1.6.0_04/lib/ext/j3dutils.jar:/home/william/jdk1.6.0_04/lib/ext/vecmath.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-apache-log4j.jar:/usr/share/ant/lib/ant-bootstrap.jar:/usr/share/ant/lib/ant-antlr.jar:/usr/share/ant/lib/ant-apache-bcel.jar:/usr/share/ant/lib/ant-apache-bsf.jar:/usr/share/ant/lib/ant-apache-regexp.jar:/usr/share/ant/lib/ant-apache-oro.jar:/usr/share/ant/lib/ant-commons-logging.jar:/usr/share/ant/lib/ant-javamail.jar:/usr/share/ant/lib/ant-jdepend.jar:/usr/share/ant/lib/ant-nodeps.jar:/usr/share/ant/lib/ant-swing.jar:/usr/share/ant/lib/ant-jmf.jar:/usr/share/ant/lib/ant-apache-resolver.jar:/usr/share/ant/lib/ant-commons-net.jar:/usr/share/ant/lib/ant-jsch.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant-trax.jar:/home/william/jdk1.6.0_04/lib/tools.jar
java.vm.specification.version : 1.0
sun.arch.data.model : 32
java.home : /home/william/jdk1.6.0_04/jre
java.specification.vendor : Sun Microsystems Inc.
user.language : en
java.vm.info : mixed mode
java.version : 1.6.0_04
java.ext.dirs : /home/william/jdk1.6.0_04/jre/lib/ext:/usr/java/packages/lib/ext
sun.boot.class.path :
/home/william/jdk1.6.0_04/jre/lib/resources.jar:/home/william/jdk1.6.0_04/jre/lib/rt.jar:/home/william/jdk1.6.0_04/jre/lib/sunrsasign.jar:/home/william/jdk1.6.0_04/jre/lib/jsse.jar:/home/william/jdk1.6.0_04/jre/lib/jce.jar:/home/william/jdk1.6.0_04/jre/lib/charsets.jar:/home/william/jdk1.6.0_04/jre/classes
java.vendor : Sun Microsystems Inc.
file.separator : /
java.vendor.url.bug : http://java.sun.com/cgi-bin/bugreport.cgi
sun.cpu.endian : little
sun.io.unicode.encoding : UnicodeLittle
sun.desktop : gnome
sun.cpu.isalist :

What am I missing? I'm tired and probably doing something retarded.

--
William Tracy
afishionado@gmail.com -- wtracy@calpoly.edu

Assembly language experience is [important] for the maturity and
understanding of how computers work that it provides.
-- D. Gries

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
William Tracy

I installed under the jre subdirectory, and it built.

Now it won't run--apparently my Intel mobile video card doesn't support GLX 1.3.

Whaaaaaaaaaaat?!?

--
William Tracy
afishionado@gmail.com -- wtracy@calpoly.edu

Assembly language experience is [important] for the maturity and
understanding of how computers work that it provides.
-- D. Gries

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net