franckLepretre
Programmer
Hi
I was working no problem with WAS and ANT.
the JRE was 1.3 and I needed to use 1.4.
I changed the default JRE to a 1.4 JRE.
When I try to compile uwing ant, I get:
Buildfile: C:\SNCF\monitor\monitorClient\script\build.xml
init:
compile:
[echo] start compilation from C:/SNCF/monitor/monitorClient/appClientModule
[javac] Compiling 10 source files to C:\projects\sncf\classes
BUILD FAILED: java.lang.NoSuchMethodError: java/lang/ClassLoader.setPackageAssertionStatus(Ljava/lang/String;Z)V
Total time: 1 second
I added rt.jar from version 1.4 in the classpath used by ant.It seems that running javac, the internal 1.3 JRE is used, but not the default JRE (1.4).
any idea what could be wrong ????
Thanks
Franck
I was working no problem with WAS and ANT.
the JRE was 1.3 and I needed to use 1.4.
I changed the default JRE to a 1.4 JRE.
When I try to compile uwing ant, I get:
Buildfile: C:\SNCF\monitor\monitorClient\script\build.xml
init:
compile:
[echo] start compilation from C:/SNCF/monitor/monitorClient/appClientModule
[javac] Compiling 10 source files to C:\projects\sncf\classes
BUILD FAILED: java.lang.NoSuchMethodError: java/lang/ClassLoader.setPackageAssertionStatus(Ljava/lang/String;Z)V
Total time: 1 second
I added rt.jar from version 1.4 in the classpath used by ant.It seems that running javac, the internal 1.3 JRE is used, but not the default JRE (1.4).
any idea what could be wrong ????
Thanks
Franck