[Source] Xj3D build under jdk1.7.0_45, Netbeans 4.1

Don Brutzman brutzman at nps.edu
Wed Oct 16 14:52:44 PDT 2013


Am building the NPS branch of Xj3D under newest versions of Java.

1. First warning occurs multiple times throughout.

> warning: [options] bootstrap class path not set in conjunction with -source 1.5

references:

warning: [options] bootstrap class path not set in conjunction with -source 1.5
http://stackoverflow.com/questions/7816423/warning-options-bootstrap-class-path-not-set-in-conjunction-with-source-1-5

New javac warning for setting an older source without bootclasspath, By darcy on Dec 21, 2010
https://blogs.oracle.com/darcy/entry/bootclasspath_older_source

warning: [options] bootstrap class path not set in conjunction with -source 1.6
http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/javac.html#xlintwarning

Worthwhile reading.  If we indeed want to be sure that Xj3D indeed runs on older versions of Java when compiling with newer versions of Java, then we likely should add the old-Java-version jars to the build and classpath.

The warning can be disabled with -Xlint:-options in the compiler options.

changed build_common.xml

   <attribute name="javac.compilerargs" default="-extdirs "" -g"/>
to
   <attribute name="javac.compilerargs" default="-extdirs "" -g -Xlint:-options"/>

to silence this warning.

2.  build all is getting a lot of compile errors such as

	error: package javax.vecmath does not exist
	package org.j3d.aviatrix3d does not exist

The How To Install and Compile Xj3D page is pretty dated and didn't help; refers to CVS, includes dead links, etc.

	HowToInstall.html

3. build compile runs fine but only included compileOpenGL and did not include compileCADFilter or compileApps.  i added them.

    <target name="compile">
       <ant target="compileOpenGL" />
       <ant target="compileCADFilter" />
       <ant target="compileApps" />

4. running the project runs fine and shows a moving box.  [] ... []

5. test suite also seems to run fine, a few diagnostic messages are thrown but runs to completion 100%.

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman



More information about the Source mailing list