LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-17-2006, 12:35 AM   #1
mystic_durle12
Member
 
Registered: Feb 2005
Location: Pakistan
Distribution: Red Hat 9
Posts: 109

Rep: Reputation: 15
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.
 
Old 02-17-2006, 02:27 AM   #2
shydra
Member
 
Registered: Nov 2005
Posts: 31

Rep: Reputation: 15
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.
 
Old 02-17-2006, 04:33 AM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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.
 
Old 02-17-2006, 10:01 PM   #4
mystic_durle12
Member
 
Registered: Feb 2005
Location: Pakistan
Distribution: Red Hat 9
Posts: 109

Original Poster
Rep: Reputation: 15
i have installed J2SE and i have used the both of the above switches.
 
Old 02-17-2006, 10:04 PM   #5
mystic_durle12
Member
 
Registered: Feb 2005
Location: Pakistan
Distribution: Red Hat 9
Posts: 109

Original Poster
Rep: Reputation: 15
or should i re-install all the suff
 
Old 02-18-2006, 03:44 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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).
 
Old 02-20-2006, 02:14 AM   #7
mystic_durle12
Member
 
Registered: Feb 2005
Location: Pakistan
Distribution: Red Hat 9
Posts: 109

Original Poster
Rep: Reputation: 15
yeh i use --jdkhome, because its what the system ask for
 
Old 02-20-2006, 02:42 AM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
Synaptic Package Manager shows 'java-common' and 'java-gcj-compat' as Installed. swiadek Ubuntu 3 02-12-2006 11:54 AM
Feedback required for java application development susovan_pal General 3 06-23-2005 09:11 AM
I cannot use "java chat". Browser says plugin required "x-java-vm". jdruin Linux - Software 4 04-18-2004 05:44 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration