|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
java.err.nojdk with Intellij Idea 9.0betaHi,
I'm developping a simple JSP in Intellij Idea 9.0beta and using GlassFish v3b70. When I deploy my JSP into GlassFish (from Idea 9) I get a : org.apache.jasper.JasperException: java.err.nojdk
That's because GlassFish needs a JDK to compile the JSP I suppose. From what I read I need to setup JAVA_HOME, but this doesn't solve my problem. I've tried to set the JAVA_HOME as a Idea environment variable or a system variable (under windows), still the same. When I check the GlassFish logs I see that it's using the JRE. Of course, if I use asadmin to start GlassFish, the variable is set, and everything works fine.
Do you know what I could do ? Any config file where I could set ip up ? Thanks, Antonio |
|
|
Re: java.err.nojdk with Intellij Idea 9.0betaI suppose you use the ZIP artifact.
glassfish/config/asenv.conf now has everything relative with the optional AS_JAVA as the only absolute (set by installer). If no installer use, then AS_JAVA is not set and GlassFish relies on the user's PATH. You should try setting AS_JAVA manually -Alexis On Nov 8, 2009, at 9:50, Antonio Goncalves wrote: > Hi, > > I'm developping a simple JSP in Intellij Idea 9.0beta and using > GlassFish v3b70. When I deploy my JSP into GlassFish (from Idea 9) I > get a : > > org.apache.jasper.JasperException: java.err.nojdk > > That's because GlassFish needs a JDK to compile the JSP I suppose. > From what I read I need to setup JAVA_HOME, but this doesn't solve > my problem. I've tried to set the JAVA_HOME as a Idea environment > variable or a system variable (under windows), still the same. When > I check the GlassFish logs I see that it's using the JRE. Of course, > if I use asadmin to start GlassFish, the variable is set, and > everything works fine. > > Do you know what I could do ? Any config file where I could set ip > up ? > > Thanks, > Antonio > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: java.err.nojdk with Intellij Idea 9.0betaYes, when I setup the AS_JAVA variable it works in Intellij Idea
Thanks, Antonio
2009/11/8 Alexis Moussine-Pouchkine <alexis.mp@sun.com> I suppose you use the ZIP artifact. -- -- Antonio Goncalves (antonio.goncalves@...) Software architect Web site : www.antoniogoncalves.org Blog: agoncal.wordpress.com Feed: feeds2.feedburner.com/AntonioGoncalves Paris JUG leader : www.parisjug.org LinkedIn: www.linkedin.com/in/agoncal |
| Free embeddable forum powered by Nabble | Forum Help |