Resource Menu


posted by Andreas Nawrath at Nov 3, 2010 2:15 PM
Quote
Cheers!

I just wanted to add a new material to the software, thus I opened SpisDefaultMaterials.java and added a few lines. recompiling with ant brought up some warnings, but the new jar was built anyway.

! javac ! Compiling 320 source files to D:SPIS_ANNAspis4SpisNumbuildclasses ! javac ! D:SPIS_ANNAspis4SpisNumsrcTopSimulationtestScenario.java:11: warning: unmappable character for encoding UTF8 ! javac ! * Creation : 9 d�c. 2004 <BR> ! javac ! ^ ! javac ! D:SPIS_ANNAspis4SpisNumsrcTopTopSpisTopMenu.java:21: warning: ! deprecation ! spis.Util.Func.DistToPoint in spis.Util.Func has been deprecated ! javac ! import spis.Util.Func.DistToPoint; ! javac ! ^ ! javac ! D:SPIS_ANNAspis4SpisNumsrcVolVolDistribLocalMaxwellVolDistrib.java:14: warning: ! deprecation ! spis.Util.Func.DistToPoint in spis.Util.Func has been deprecated ! javac ! import spis.Util.Func.DistToPoint; ! javac ! ^ ! javac ! D:SPIS_ANNAspis4SpisNumsrcTopTopSpisTopMenu.java:245: warning: ! deprecation ! spis.Util.Func.DistToPoint in spis.Util.Func has been deprecated ! javac ! ScalFunctionOfVect dtp = new DistToPoint(origin, -3.f); ! javac ! ^ ! javac ! D:SPIS_ANNAspis4SpisNumsrcTopTopSpisTopMenu.java:465: warning: ! deprecation ! boundaryAdjustingLoop() in spis.Solver.Matter.BoltzmannPICMultiZone has been deprecated ! javac ! bpmz.boundaryAdjustingLoop(); ! javac ! ^ ! javac ! D:SPIS_ANNAspis4SpisNumsrcVolVolDistribLocalMaxwellVolDistrib.java:189: warning: ! deprecation ! spis.Util.Func.DistToPoint in spis.Util.Func has been deprecated ! javac ! ScalFunctionOfVect dtp = new DistToPoint(origin, -3.f); ! javac ! ^ ! javac ! D:SPIS_ANNAspis4SpisNumsrcVolVolDistribLocalMaxwellVolDistrib.java:202: warning: ! deprecation ! spis.Util.Func.DistToPoint in spis.Util.Func has been deprecated ! javac ! ScalFunctionOfVect dtp = new DistToPoint(origin, 1.f); ! javac ! ^ ! javac ! D:SPIS_ANNAspis4SpisNumsrcVolVolDistribLocalMaxwellVolDistrib.java:212: warning: ! deprecation ! spis.Util.Func.DistToPoint in spis.Util.Func has been deprecated ! javac ! ScalFunctionOfVect dtp = new DistToPoint(origin, 1.f); ! javac ! ^ ! javac ! D:SPIS_ANNAspis4SpisNumsrcVolVolDistribLocalMaxwellVolDistrib.java:222: warning: ! deprecation ! spis.Util.Func.DistToPoint in spis.Util.Func has been deprecated ! javac ! ScalFunctionOfVect dtp = new DistToPoint(origin, 1.f); ! javac ! ^ ! javac ! Note: Some input files use unchecked or unsafe operations. ! javac ! Note: Recompile with -Xlint:unchecked for details. ! javac ! 9 warnings

However if I try to start a simulation now I get the following error message:


<flattened_dependency_graph>
invalid link : JyTop (Illegal character in path at index 0: JyTop )
</flattened_dependency_graph>
Nb task to run: 1 task JyTop begins >>>>>> Exception raised in task <JyTop> >>>>>> BEGIN TASK EXCEPTION HANDLING Traceback (most recent call last): File "D:SPIS_ANNAspis4SpisUIBinTasksTask.py", line 127, in run self.run_task() File "D:SPIS_ANNAspis4SpisUIBinTasksTaskJyTop.py", line 91, in run_task import Bin.SpisNumCaller File "D:SPIS_ANNAspis4SpisUIBinSpisNumCaller.py", line 45, in ? from Bin.JyTop4 import JyTop4 File "D:SPIS_ANNAspis4SpisUIBinJyTop4.py", line 63, in ? import spis.Top.Default.LocalParameter as LocalParameter java.lang.UnsupportedClassVersionError: java.lang.UnsupportedClassVersionError: Bad version number in .class file >>>>>> END TASK EXCEPTION HANDLING task JyTop just terminate

Bad Version number in class file - does this mean the installed Java JDK is the troublemaker? What can I do to avoid this error?

Thank you in advance,

Andreas