LinuxQuestions.org
Visit Jeremy's Blog.
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 10-14-2007, 10:43 AM   #1
tm2383
Member
 
Registered: Oct 2006
Posts: 185

Rep: Reputation: 15
Netbeans for Java


Hi,
I am in the process of installing Netbeans to use with my Java 1.6.0_03 environment on Linux. Netbeans was unable to locate my Java environment so I had to locate it manually. As far as I can see, it is located in /usr/java/1.6.0_03. This is certainly the directory that the firefox Java plugin is linked too. Netbeans is asking for the Home directory, but when I add the location above I am given an error message and asked to specify the java home directory. Does anyone know what I am doing wrong here. Should I be locating a subfolder (I don't see a home subfolder) of some sort within 1.6.0_03, or am I trying to link Netbeans to the wrong folder entirely? I am new to Java and reasonably new to Linux!

Thanks,

Tim
 
Old 10-14-2007, 10:55 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Before installing:

# export JAVAHOME=/usr/java/1.6.0_03

If you are new, you don't need netbeans.
 
Old 10-14-2007, 11:43 AM   #3
tm2383
Member
 
Registered: Oct 2006
Posts: 185

Original Poster
Rep: Reputation: 15
Hi,
Thanks for the reply :-)
I'm new to Java and Linux, but have been programming for a long time. That's why I would quite like to have had Netbeans from the beginning.
I have tried installing Eclipse, but it seems to be running REALLY slowly.
I tried what you said, by the way, but with no luck. Have you any other ideas?

Thanks again,

Tim
 
Old 10-14-2007, 12:54 PM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
http://wiki.netbeans.org/wiki/view/FaqInstallJavahome
 
  


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 and netbeans 5.5 - 2 problems avallach Linux - Software 2 08-14-2007 07:35 AM
how to hide java netbeans forms trscookie Programming 3 04-21-2006 01:04 PM
Installing Java and Netbeans Bundle oookiezooo Linux - Newbie 4 01-25-2006 05:21 PM
Java: Netbeans IDE question ludeKing Programming 0 09-01-2004 09:20 AM
installing netbeans/java cobundle? guitarnix Linux - Software 4 12-17-2003 06:44 AM

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

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