cancel
Showing results for 
Search instead for 
Did you mean: 

JAVA_HOME: Undefined variable (..../j2ee/configtool.sh)

TMNielsen
Contributor
0 Kudos

Hello all

I have installed SAP NetWeaver '04 Testdrive SR1 on Fedora Core 2.

Now I try to install Adove Document Services, but when I start /usr/sap/NW4/DVEBMGS00/j2ee/configtool.sh I just get this message:

JAVA_HOME: Undefined variable.

How can I fix this problem ?

Best regards

Thomas Madsen Nielsen

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Thomas,

Did you install j2se ?

You should export JAVA_HOME="<j2se_installation_path>" in your path. In addition, I suggest you to add JAVA_HOME/bin and JAVA_HOME/lib/tools.jar in your classpath.

Regards,

Ludovic

TMNielsen
Contributor
0 Kudos

Hello Ludovic

I'm not familiar whith the many of the things you write, like I don't have a clue what classpath is, but after executing this command :

export JAVA_HOME=/usr/java/j3sdk1.4.2_06

I am now able to start the configtool.sh

Best regards

Thomas Madsen Nielsen

Former Member
0 Kudos

Hi Thomas

What You need to do (the actions Ludovic talks about) is to maintain the enviroment variables on Your 04' server.

Go to My Computer -> right click -> properties -> advanced -> enviroment variables.

You need to add the path for Your j2ee in the path string under system variables and JAVA_HOME under user variables.

Hope it helps

/Mads

TMNielsen
Contributor
0 Kudos

Hi Mads

Thanks for your answer.

I run a Linux testdrive I belive your answer relates to windows ?

best regards

Thomas Madsen Nielsen

Answers (0)