option -extdirs dont run with jikes1.22 1.21 1.20
Brought to you by:
cabbey,
daveshields
I have the following pb with jikes1.22 but not with jikes1.19, I use W2000 and W98 (the xerces.jar is in the path %JDK_HOME%\jre\lib\ext and other packages)
D:\JAVA\jikes1.22\jikes.exe +E -target 1.3 -nowarn -g
-extdirs %JDK_HOME%\jre\lib\ext -classpath "%CLASSPATH%" -d D:\JAVA\classes test.java
Semantic Error: You need to modify your classpath, sourcepath, bootclasspath
, and/or extdirs setup. Jikes could not find package "org.apache.xerces.parsers"
in:
C:\j2sdk1.4.2\jre\lib\rt.jar
C:/j2sdk1.4.2/jre/lib/ext/
C:/j2sdk1.4.2/jre/lib/ext/
C:/j2sdk1.4.2/jre/lib/ext/
C:/j2sdk1.4.2/jre/lib/ext/
C:/j2sdk1.4.2/jre/lib/ext/
C:/j2sdk1.4.2/jre/lib/ext/
...
...
Logged In: YES
user_id=1434341
Same here, tested with:
Jikes Compiler - Version 1.22 - 3 October 2004
If I specify:
SET EXTDIRS=%PROGRAMFILES%\Java\jre1.5.0_06\lib\ext\
then jikes reports:
*** Semantic Warning: The file
"N:/Programme/Java/jre1.5.0_06/lib/ext/" does not
exist or else is not a valid zip file.
eight times on every call.
These eight times is exactly the number of files that is
contained within the ext directory of above.
If I then add one file to the ext directory, the warning
reports increase by one. That seems to be a string
indication for a bug in jikes as the JARs contained within
the ext directory are standard Java ones as well as some
from the Java-3D API.