[jboss-jira] [JBoss JIRA] (AS7-5868) About javac command using tools.jar

Debasis Jana (JIRA) jira-events at lists.jboss.org
Fri Nov 2 02:42:18 EDT 2012


Debasis Jana created AS7-5868:
---------------------------------

             Summary: About javac command using tools.jar
                 Key: AS7-5868
                 URL: https://issues.jboss.org/browse/AS7-5868
             Project: Application Server 7
          Issue Type: Clarification
          Components: Class Loading
         Environment: windows 7, java 1.6
            Reporter: Debasis Jana
            Assignee: David Lloyd
             Fix For: 7.1.1.Final


JAVA_HOME points to jdk home directory.
How do JBOSS server compiles converted JSP servlet and loaded it from temp folder.
If I point JAVA_HOME to jre home then how do JBOSS find that tools.jar to compile JSP class.

Now I am generating report generation java on the fly and my application tries to compile that source using apache ant tool which uses tools.jar.
I able to make find resource by putting tools.jar into WEB-INF/tools.jar and make a changes in sun/jdk module.xml (added javax/annotation/processing).
How sun/jdk module works as it's main folder does not contain any .jar file.

If I try to add dependencies (tools.jar) using modules structure then it shows javax.tool..no found. Then if I make change in sun/jdk module.xml by adding javax/tool..then it shows same error.

Can anyone please make me clarify these concerns.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list