-
1. Re: JBoss needs server version of java. How do I configure j
jaikiran May 8, 2009 2:14 PM (in response to turks)As far as i remember, the server version is not mandatory. Which version of AS do you use? And which version of Java and which vendor of Java? What exact error message do you see and how do you start the server?
-
2. Re: JBoss needs server version of java. How do I configure j
peterj May 8, 2009 5:47 PM (in response to turks)Based on the path separator, I am going to assume you are using Windows. There is already code in run.bat* that check to see if the server JVM is available and automatically adds the -server option to the java command line.
* - look for 'findstr'. In 5.0.1, it is lines 49-52 -
3. Re: JBoss needs server version of java. How do I configure j
turks May 8, 2009 6:34 PM (in response to turks)Without the \bin\server folder (you are correct I'm on Windows), if I run
run.bat it fails with cannot find JAVA_HOME yet it points to the following in the error :
C:\Program Files\Java\jre6\bin\client (Sun Java)
Again if I dup \bin\client to \bin\server, then run.bat will run properly ?
Strange ?
Thanks again for any help.
-T -
4. Re: JBoss needs server version of java. How do I configure j
peterj May 8, 2009 7:11 PM (in response to turks)Based on the directory, you should
set JAVA_HOME=C:\Program Files\Java\jre6
And some advice. First, this is a JRE and not a JDK. I suggest you install a JDK and set JAVA_HOME to it's installation directory. Second, do not install the JDK in Program Files - spaces in path names tend to confuse certain Java libraries. I have mine at c:\apps\java\jdk1.6.0_13.