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

jaikiran pai (JIRA) jira-events at lists.jboss.org
Fri Nov 2 03:10:18 EDT 2012


     [ https://issues.jboss.org/browse/AS7-5868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jaikiran pai closed AS7-5868.
-----------------------------

    Fix Version/s:     (was: 7.1.1.Final)
       Resolution: Rejected


Please use the user forums https://community.jboss.org/community/jbossas7?view=discussions for questions like these. Create a new thread there and someone might help you with the answers.

                
> 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
>              Labels: jboss
>
> 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