LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-10-2003, 07:11 PM   #1
eastj1974
Member
 
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
redgore
Member
 
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 java.sh into which you need:
Code:
# 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
export PATH=$PATH:$JAVA_HOME/bin:$JSDK_HOME/bin
and #chmod 755 /etc/profile.d/java.sh

It will then install fine just executing the bin file
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:23 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