6 Replies Latest reply on Mar 23, 2006 5:24 AM by Prakalp Phadnis

# Probelm with the server

I have installed Jboss portal but when I wnat execute the server I can because I have this error. Have you a possible solution to resolve my problem please?

```Could not locate C:\Sun\AppServer\bin;C:\Program Files\Java\jdk1.5.0_06;C:\Progr
am Files\Java\jre1.5.0_06\lib\tools.jar. Unexpected results may occur.
Make sure that JAVA_HOME points to a JDK and not a JRE.
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\Documents and Settings\amangano\Bureau\jbpm-starters-kit-3.0.1\
jbpm-starters-kit-3.0.1\jbpm-server\bin\\..
.
JAVA: C:\Sun\AppServer\bin;C:\Program Files\Java\jdk1.5.0_06;C:\Program Files\
Java\jre1.5.0_06\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
.
CLASSPATH: C:\Sun\AppServer\bin;C:\Program Files\Java\jdk1.5.0_06;C:\Program F
iles\Java\jre1.5.0_06\lib\tools.jar;C:\Documents and Settings\amangano\Bureau\jb
pm-starters-kit-3.0.1\jbpm-starters-kit-3.0.1\jbpm-server\bin\\run.jar
.
===============================================================================
.
Syntaxe du nom de fichier, de répertoire ou de volume incorrecte.
Syntaxe du nom de fichier, de répertoire ou de volume incorrecte.
Syntaxe du nom de fichier, de répertoire ou de volume incorrecte.
Syntaxe du nom de fichier, de répertoire ou de volume incorrecte.
Syntaxe du nom de fichier, de répertoire ou de volume incorrecte.
Syntaxe du nom de fichier, de répertoire ou de volume incorrecte.
....
```

I think that my classpath is good but I don't understand where is the problem exactly have you some clues?

thanks

antitrust1982

• ###### 1. Re: Probelm with the server

You don't have the JDK installed or do not have it set properly in your JAVA_HOME environment variable.

• ###### 2. Re: Probelm with the server

I have seen my JAVA_HOME in environment variable is:

```C:\Sun\AppServer\bin;C:\Program Files\Java\jdk1.5.0_06;C:\Program Files\Java\jre1.5.0_06
```

and I have installed correctly JDK I think.

It's why I don't understand why it doesn't work.

antitrust1982

• ###### 3. Re: Probelm with the server

So if C:\Program Files\Java\jdk1.5.0_06 is the path to your JDK, your JAVA_HOME should point to that and only that, i.e.

set JAVA_HOME="C:\Program Files\Java\jdk1.5.0_06"

• ###### 4. Re: Probelm with the server

thanks I think that I have done this but no because it works now. thank you very much.

• ###### 5. Re: Probelm with the server

1) make certain you have not set JAVA_HOME to a JRE.

2) It is good practice in windows to place the JAVA_HOME directory directly under your root (c:/dk1.5.0....../)

Have fun -
Prax.

• ###### 6. Re: Probelm with the server

Correction to a copy\paste typo :

c:\jdk1.5.0_0.....\