LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   help required(regarding java) (https://www.linuxquestions.org/questions/programming-9/help-required-regarding-java-416351/)

mystic_durle12 02-17-2006 12:35 AM

help required(regarding java)
 
fellows i installed java netbeans on my red hat 9 system along with java sdk 1.4, it was included with this package, rest of java is working fine but netbeans is not working. when i click the icon, nothing happens but when i go to the folder of netbeans script and run it from there it gives a message that
cannot find java: use --jdkhome home switch
the i use this switch a provide the path which in my case is /opt/jdk1.4/bin but event then it would repeat the same message.
plz help me out.

shydra 02-17-2006 02:27 AM

I use NetBeans and i can say that it is just great.

Do you installed the JDK?
You have to download and install J2SE package from java.sun.com.
Just install J2SE, and then NetBeans will run.
J2SE includes all of JDK and some other Java stuffs.

jlliagre 02-17-2006 04:33 AM

Quote:

Originally Posted by mystic_durle12
fellows i installed java netbeans on my red hat 9 system along with java sdk 1.4, it was included with this package, rest of java is working fine but netbeans is not working. when i click the icon, nothing happens but when i go to the folder of netbeans script and run it from there it gives a message that
cannot find java: use --jdkhome home switch
the i use this switch a provide the path which in my case is /opt/jdk1.4/bin but event then it would repeat the same message.
plz help me out.

It seems to me jdkhome should be /opt/jdk1.4 in your case, not /opt/jdk1.4/bin.

mystic_durle12 02-17-2006 10:01 PM

i have installed J2SE and i have used the both of the above switches.

mystic_durle12 02-17-2006 10:04 PM

or should i re-install all the suff

jlliagre 02-18-2006 03:44 AM

Quote:

Originally Posted by mystic_durle12
i have installed J2SE and i have used the both of the above switches.

After looking closer your first post, it seems you use "--jdkhome" while runide.sh expects "-jdkhome" (single dash).

mystic_durle12 02-20-2006 02:14 AM

yeh i use --jdkhome, because its what the system ask for

jlliagre 02-20-2006 02:42 AM

I don't know what it asks for, but it certainly expects -jdkhome, not --jdkhome.


All times are GMT -5. The time now is 06:09 PM.