10 Replies Latest reply on Dec 9, 2003 7:03 AM by darranl

    JMX Console & Java installed in Program Files directory

    sbocquet

      Hi everybody,

      I'm trying to start the JMX Console of JBoss (3.2.1).
      My URL is http://localhost:8080/jmx-console, and here is the error.

      org.apache.jasper.JasperException: Unable to compile class for JSP

      An error occurred at line: -1 in the jsp file: null

      Generated servlet error:
      [javac] Compiling 1 source file
      [javac] javac: invalid flag: C:\Program
      [javac] Usage: javac
      [javac] where possible options include:
      [javac] -g Generate all debugging info
      [javac] -g:none Generate no debugging info
      [javac] -g:{lines,vars,source} Generate only some debugging info
      [javac] -nowarn Generate no warnings
      [javac] -verbose Output messages about what the compiler is doing
      [javac] -deprecation Output source locations where deprecated APIs are used
      [javac] -classpath Specify where to find user class files
      [javac] -sourcepath Specify where to find input source files
      [javac] -bootclasspath Override location of bootstrap class files
      [javac] -extdirs Override location of installed extensions
      [javac] -d Specify where to place generated class files
      [javac] -encoding Specify character encoding used by source files
      [javac] -source Provide source compatibility with specified release
      [javac] -target Generate class files for specific VM version
      [javac] -help Print a synopsis of standard options

      I think that the reason is that JAVA and JBoss are installed in my directory "Program Files"...

      What are the environment variables that are used to lauch the javac command by JBoss/Tomcat when Tomcat try to compil a servlet?
      How could I solve that, without installing JAVA and JBoss elsewhere, of course ;-))) ?

      Thanks a lot for the answer.

      P.S. : That config worked with JBoss 3.2.0RC2 !!!