-
1. Re: JMX Console & Java installed in Program Files directory
darranl Nov 26, 2003 11:39 AM (in response to sbocquet)The answer is to install your JDK and JBoss in a directory with no spaces in the name.
-
2. Re: JMX Console & Java installed in Program Files directory
sbocquet Nov 27, 2003 2:32 AM (in response to sbocquet)Hi,
Thanks for the answer.
I've already supposed that that was the solution. But what I want is to keep my JDK and JBoss in my Program Files Directory... in order to keep my disc perfectly clean ;-))).
It's been years that we can put spaces in directory names (both Windows and UNIX !), and there are still some programs that don't take this in mind !!! Can't understand this ;-)))
So, if someone have an idea... he's welcome ;-))) -
3. Re: JMX Console & Java installed in Program Files directory
ttjarl Nov 28, 2003 2:14 AM (in response to sbocquet)You could try to use the old 8dot3 format of filenames - modify JAVA_HOME to something like:
c:\PROGRA~1/J2XXXX
Use dir /x to check what 8dot3 name to use.
I havn't tried this myself. It is a long time since I learned that spaces in file and directory-names are trouble. -
4. Re: JMX Console & Java installed in Program Files directory
sbocquet Nov 28, 2003 6:56 AM (in response to sbocquet)Hi,
My environment variables are already setted with 8.3 format.
JAVA_HOME is C:\Progra~1\Java
JBOSS_HOME is C:\Progra~1\JBoss
But it still doesn't work with this, which surprise me a lot ! Perhaps Tomcat uses something in the windows registry to find JAVAC, but I don't think so...
And what surprised me more, is that it was working with JBoss 3.2.0RC2 !!!
Any idea is welcome...
Cheers, -
5. Re: JMX Console & Java installed in Program Files directory
sbocquet Dec 3, 2003 10:44 AM (in response to sbocquet)Is anybody there ? ;-)))
-
6. Re: JMX Console & Java installed in Program Files directory
darranl Dec 3, 2003 10:56 AM (in response to sbocquet)Yes people are here.
You have already been given the answer. -
7. Re: JMX Console & Java installed in Program Files directory
sbocquet Dec 3, 2003 12:01 PM (in response to sbocquet)Hi,
I was thinking that there was another solution than re-installing all my Java and JBoss softwares, and that somebody knows what's going on with those environment variables... -
8. Re: JMX Console & Java installed in Program Files directory
sbocquet Dec 8, 2003 8:48 AM (in response to sbocquet)Ok...
After searching a while, I think it's more a JBoss problem than a Java problem, because all works perfectly if :
- I put Java in C:\Program Files\Java
- I put JBoss in C:\JBoss
- JAVA_HOME is C:\Program Files\Java (Yes, I know... but it works!!! ;-)
So... if someone could tell me what environment is use to compil the servlets with Tomcat... I'm very interested...
Thanks a lot... -
9. Re: JMX Console & Java installed in Program Files directory
sbocquet Dec 8, 2003 10:13 AM (in response to sbocquet)Let's continue...
In fact, it seems that the JAVAC_JAR variable in run.bat has no effect too...
rem Include the JDK javac compiler for JSP pages. The default is for a Sun JDK
rem compatible distribution to which JAVA_HOME points
set JAVAC_JAR=%JAVA_HOME%\lib\tools.jar -
10. Re: JMX Console & Java installed in Program Files directory
darranl Dec 9, 2003 7:03 AM (in response to sbocquet)The Sun J2EE 1.4 application server is the same, the installer will not allow it to be installed into a path with a space in the name.