Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-10-2003, 07:11 PM   #1
Registered: Feb 2003
Location: Los Angeles
Distribution: Red Hat 8.0
Posts: 68

Rep: Reputation: 15
Installing NetBeans -> JVM Could Not Be Found

I'm running red hat 8.0. I'm trying to install the NetBeans java ide. It is a bin file. When I try to execute it I get the following error:
"A suitable JVM could not be found. Please run the installer again
using the option -is: javahome <Java Home Directory>"

Can anyone help me with this. First of all, I don't know how to use the -is option when executing a bin file. Also, I have the java jre 1.4.1 installed as well as the java sdk 1.4.1. I assume the path environmental variable is off but I don't know how to fix this. Can anyone help? Thanks
Old 05-11-2003, 02:49 AM   #2
Registered: Dec 2001
Location: England
Distribution: Various,currently Slackware.
Posts: 156

Rep: Reputation: 30
Do you have the variable $JAVA_HOME set up ??
Its an integral part of installing java but is mentioned nowhere in the suns docs (Have to be a rocket scientist to understand them !)
The SDK also includes the JRE. Into /etc/profile.d/ out a file into which you need:
# Sets Java_home for apps that need the jre
export JAVA_HOME=/usr/java/j2sdk1.4.1_02/jre
# Sets JSDK_HOME for apps that need use of the sdk
export JSDK_HOME=/usr/java/j2sdk1.4.1_02
# Add the java binaries to all users paths
and #chmod 755 /etc/profile.d/

It will then install fine just executing the bin file


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing netbeans IDE linuxmandrake Debian 3 11-02-2005 07:25 AM
No JVM could be found in my system-+ bjyostna Linux - Software 6 02-07-2005 05:37 AM
Help me ! Installing JVM on embedded pc malvin10 Linux - Software 1 02-26-2004 03:35 AM
installing netbeans/java cobundle? guitarnix Linux - Software 4 12-17-2003 06:44 AM
Installing the JVM AMDPwred Linux - General 1 01-16-2002 03:02 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:32 AM.

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