This content has been marked as final.
Show 4 replies
-
1. Re: JBoss on JDK to use JSR199
dimitris Aug 28, 2007 6:56 AM (in response to marco.pehla)Why not point JAVA_HOME to a jdk ?
-
2. Re: JBoss on JDK to use JSR199
marco.pehla Aug 28, 2007 7:27 AM (in response to marco.pehla)JAVA_HOME points to my JDK. When I type in SET in the console it shows:
JAVA_HOME=C:\Programme\Java\jdk1.5.0_12
But this is not the point. As far as I know does JBoss not really need a JDK to run. The JRE is absolute sufficient if everything is compiled, as I read in some other posts. The Java compiler is only necessary for Tomcat in order to compile JSP's.
I could send you the two migrated JSR199 libraries. If you have time, you could try them in standalone applications and then e.g. in a EJB3 on JBoss.
I guess that only JBoss need to use the tools.jar library. (I know that tools.jar is in the classpath and inside is the Java compiler. This is specified in the run.bat file.) -
3. Re: JBoss on JDK to use JSR199
marco.pehla Aug 28, 2007 10:03 AM (in response to marco.pehla)So finaly I tried the Java 6 SDK instead of Java 5 and the Java Compiler API (JSR 199) works! :D
Now I can compile Java code in memory, without any file accessm inside of a EJB3. -
4. Re: JBoss on JDK to use JSR199
grandfatha Sep 3, 2007 4:44 PM (in response to marco.pehla)You need to compile java code inside an EJB? That sounds... unusual. ;)