You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Samuel Wu <sa...@ca.ibm.com> on 2014/06/06 15:32:30 UTC
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
Re: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is
required
Posted by Samuel Wu <sa...@ca.ibm.com>.
The problem was fixed by adding
-Dorg.apache.jasper.compiler.disablejsr199=true to wrapper.conf
Best Regards
Samuel Wu
Re: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is
required
Posted by Samuel Wu <sa...@ca.ibm.com>.
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
Re: PWC6345: There is an error in invoking javac. A full JDK (not
just JRE) is required
Posted by Dan Tran <da...@gmail.com>.
send email to this group to unsubscribe
users-unsubscribe@continuum.apache.org
On Sun, Jun 8, 2014 at 8:53 AM, Gabriel Nascimento <ga...@gmail.com>
wrote:
> remove me from this group
>
>
> On Fri, Jun 6, 2014 at 10:32 AM, Samuel Wu <sa...@ca.ibm.com> wrote:
>
> >
> > 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
>
>
>
>
> --
> Java Google Search Engine
> http://www.google.com/coop/cse?cx=005506632761844726871%3Asmfqscqavok
>
Re: PWC6345: There is an error in invoking javac. A full JDK (not
just JRE) is required
Posted by Gabriel Nascimento <ga...@gmail.com>.
remove me from this group
On Fri, Jun 6, 2014 at 10:32 AM, Samuel Wu <sa...@ca.ibm.com> wrote:
>
> 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
--
Java Google Search Engine
http://www.google.com/coop/cse?cx=005506632761844726871%3Asmfqscqavok