Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5868

About javac command using tools.jar

XMLWordPrintable

    • Icon: Clarification Clarification
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • Class Loading

      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.

              dlloyd@redhat.com David Lloyd
              debasisj Debasis Jana (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: