-
1. Re: BPEL beta2 - com.sun.tools.javac.Main - Java 1.5.0_07
kvak_tnt Sep 25, 2006 6:58 AM (in response to kvak_tnt)Hi again!
maybe another reason for the failure:
Eclipse:
Window \ Preferences \ Ant \ Runtime \Global Entries:
There is actually my jdk 1.5.0_06\lib\tools.jar added.
Maybe this has been the failure.
Greetings
Claus -
2. Re: BPEL beta2 - com.sun.tools.javac.Main - Java 1.5.0_07
aguizar Sep 25, 2006 1:13 PM (in response to kvak_tnt)The wscompile task is configured to fork; otherwise, it does not accept the -mapping option for some unknown reason.
Even if you are using a JDK in Eclipse (as opposed to a JRE) or have tools.jar in your global entires, only the private JRE libraries are passed when the task forks, and the java.home system property is set to [jdk-install-dir]/jre. As a workaround I added the following element to the wscompile path (webservice.build.xml):<path id="wscompile.path"> <fileset dir="${jwsdp.home}/jaxrpc/lib" includes="*.jar" /> <pathelement location="${java.home}/../lib/tools.jar" /> <pathelement location="${resources.dir}" /> </path>
I guess your java 1.5.0_07 entry in Eclipse points to a public JRE, hence directory ${java.home}/../lib does not exist. However, when you add tools.jar to your java 1.5.0_07 entry, that JAR is also passed to the forked VM. -
3. Re: BPEL beta2 - com.sun.tools.javac.Main - Java 1.5.0_07
kvak_tnt Sep 25, 2006 1:38 PM (in response to kvak_tnt)OK.
First to your Information:
JAVA_HOME as a shellvariable is set to C:\Programme\Java\jdk_1.5.0_06
Secondly:
If I use Java 1.5.0_06 I have NO problems
If I use 1.5.0_07 I have to do the workarround mentioned above.
OK - now I read your post and I looked into the webservice.build.xml
If I move my mouse over the java.home - I can normaly see which path actually would be used.
It is the following entry:C:\Programme\Java\jre1.5.0_07
But I do not know where to configure here another path? It is completely wrong as I use jre / jdk 1.5.0_06 (If you think why I use this version: In BPEL beta1 I was not able to run a newer version of JAVA)
So if you know something about this it would be a great hint (but as I actually works) it is not a fast response necessary .
Greetings
Claus -
4. Re: BPEL beta2 - com.sun.tools.javac.Main - Java 1.5.0_07
kvak_tnt Sep 26, 2006 3:02 AM (in response to kvak_tnt)By the way:
Can you tell me which Java version you (developers) are working with?
1.5.0_07? _08? _06?
I asked this question allready - but got no anwser... -
5. Re: BPEL beta2 - com.sun.tools.javac.Main - Java 1.5.0_07
aguizar Sep 26, 2006 5:06 AM (in response to kvak_tnt)1.5.0_07 with endorsed XML APIs.
-
6. Re: BPEL beta2 - com.sun.tools.javac.Main - Java 1.5.0_07
aguizar Sep 26, 2006 5:08 AM (in response to kvak_tnt)It is also tested on 1.4.2_10 with endorsements. But make sure you use jdks, not jres.