continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Wu <samue...@ca.ibm.com>
Subject Re: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required
Date Fri, 06 Jun 2014 13:38:25 GMT

Since I was experiencing a problem to access the mailing list, a personal
email was sent to Brett Porter and the following was his response.
++++++++++++++++++++++++++++++++++++++++++++++++
For the problem, here's some things to try:
- JAVA_HOME instead of java_home as the variable?
- put the JDK before the system directory in the PATH, so it doesn't run
the wrong one
- try adding -Dorg.apache.jasper.compiler.disablejsr199=true to
wrapper.conf under a new line with wrapper.java.additional.X (replace X
with the next number). I haven't tried that before, but it's an idea from
this:
http://stackoverflow.com/questions/9113346/pwc6345-there-is-an-error-in-invoking-javac-error-when-using-jetty-wtp-plugi


HTH,
Brett
+++++++++++++++++++++++++++++++++++++++++++++++++


From:	Samuel Wu/Toronto/IBM@IBMCA
To:	users@continuum.apache.org,
Date:	06/06/2014 09:33 AM
Subject:	PWC6345: There is an error in invoking javac.  A full JDK (not
            just JRE) is required




Hello there,

Trying to run Continuum 1.4.1 in a standalone environment on Windows 7

After running the following:

CC:\softwares\Continuum\apache-continuum-1.4.1-bin\apache-continuum-1.4.1
\bin>continuum.bat console

Everything is OK until I go navigate to
http://localhost:8081/continuum/

The following error was reported:
jvm 1    | 2014-06-05
10:46:49.544:WARN:oejs.ErrorPageErrorHandler:EXCEPTION
jvm 1    | org.apache.jasper.JasperException: PWC6345: There is an error in
invoking javac.  A full JDK (not just JRE) is required
jvm 1    |      at org.apache.jasper.compiler.DefaultErrorHandler.jspError
(DefaultErrorHandler.java:92)
jvm 1    |      at org.apache.jasper.compiler.ErrorDispatcher.dispatch
(ErrorDispatcher.java:378)
jvm 1    |      at org.apache.jasper.compiler.ErrorDispatcher.jspError
(ErrorDispatcher.java:119)


However, JDK is installed and javac is in the path for in the following
checks:

1.Typing javac command brings up what I'd expect.

C:\softwares\Continuum\apache-continuum-1.4.1-bin\apache-continuum-1.4.1
\bin>javac -version
javac 1.7.0_60


2.I've checked my PATH's
C:\softwares\Continuum\apache-continuum-1.4.1-bin\apache-continuum-1.4.1
\bin>set path
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows
\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jdk1.7.0_60
\bin
java_home="C:\Program Files (x86)\Java\jdk1.7.0_60"


Wonder what else I should check. Thank you.

Best Regards

Samuel Wu
Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message