For Programmers: Free Programming Magazines  


Home > Archive > Java Help > July 2004 > environment variable JDK_HOME & netbeans









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author environment variable JDK_HOME & netbeans
thufir.hawat@mail.com

2004-07-28, 9:09 pm

err, I broke netbeans. I can use jdk1.5.0 but want it to work with
netbeans. Originally I installed netbeans with jdk.1.4.x; after
un-installing jdk1.4.x netbeans no longer works.

in Fedora Core One:

[net]$ echo $JAVA_HOME
/home/net/jdk1.5.0/

[net]$ /home/net/netbeans3.6/bin/runide.sh

[net]$ Cannot find JDK at /home/net/j2sdk1.4.2_04.
Please set the JDK_HOME
environment variable to point to your JDK installation directory,
or use the --jdkhome switch

[1]+ Exit 2 /home/net/NetBeans3.6/bin/runide.sh
Christophe Vanfleteren

2004-07-28, 9:09 pm

thufir.hawat@mail.com wrote:

> err, I broke netbeans. I can use jdk1.5.0 but want it to work with
> netbeans. Originally I installed netbeans with jdk.1.4.x; after
> un-installing jdk1.4.x netbeans no longer works.
>
> in Fedora Core One:
>
> [net]$ echo $JAVA_HOME
> /home/net/jdk1.5.0/
>
> [net]$ /home/net/netbeans3.6/bin/runide.sh
>
> [net]$ Cannot find JDK at /home/net/j2sdk1.4.2_04.
> Please set the JDK_HOME
> environment variable to point to your JDK installation directory,
> or use the --jdkhome switch
>
> [1]+ Exit 2 /home/net/NetBeans3.6/bin/runide.sh


Edit the ide.cfg file in your netbeans bin dir, and adjust the path to the
JDK.
Or do what the errormessage suggests.

--
Kind regards,
Christophe Vanfleteren
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com