openSUSE Forums > OBS Projects > OBS-Education » Netbean + JDK + modules

Go Back   openSUSE Forums > OBS Projects > OBS-Education
Forums FAQ Members List Search Today's Posts Mark Forums Read


OBS-Education Questions specific to openSUSE Education development, bugs, enhancements, etc.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26-Sep-2009, 20:59
Puzzled Penguin
 
Join Date: Aug 2009
Posts: 10
stanc hasn't been rated much yet
Default Netbean + JDK + modules

I am using openSUSE 11.1 and netbeans 6.5 from the Education repository.

I'm getting this error whenever I run netbeans.
Quote:The JDK is missing and is required to run some NetBeans modules
Please use the --jdkhome command line option to specify a JDK installation or see NetBeans Wiki: FaqRunningOnJre for more information.

I went to the netbeans site and I came across a solution that doesn't seem to work for my installed Java run-times.

Quote:
/usr/bin/netbeans --jdkhome /usr/lib64/jvm/jre-1.6.0-sun
I tried changing the path to the jdkhome many times but netbeans still does not load properly.

These are the following directories in my /usr/lib/64/jvm
Quote:
java
java-1.5.0
java-1.5.0-gcj
java-1.5.0-gcj-4.3-1.5.0.0
java-1.6.0-openjdk-1.2_b11
java-1.6.0-openjdk-1.6.0
java-1.6.0-sun-1.6.0
java-gcj
jre
jre-1.5.0
jre-1.5.0-gcj
jre-1.6.0
jre-1.6.0-openjdk
jre-1.6.0-sun
jre-gcj
jre-openjdk
jre-sun
I'm not sure which one I'm supposed to use because I've tried many of them and still I get the same error.
Reply With Quote
  #2 (permalink)  
Old 27-Sep-2009, 01:52
ram88's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: relative
Posts: 1,169
ram88 hasn't been rated much yet
Send a message via MSN to ram88 Send a message via Skype™ to ram88
Default Re: Netbean + JDK + modules

Quote:
Originally Posted by stanc View Post
I am using openSUSE 11.1 and netbeans 6.5 from the Education repository.

I'm getting this error whenever I run netbeans.
Quote:The JDK is missing and is required to run some NetBeans modules
Please use the --jdkhome command line option to specify a JDK installation or see NetBeans Wiki: FaqRunningOnJre for more information.

I went to the netbeans site and I came across a solution that doesn't seem to work for my installed Java run-times.



I tried changing the path to the jdkhome many times but netbeans still does not load properly.

These are the following directories in my /usr/lib/64/jvm


I'm not sure which one I'm supposed to use because I've tried many of them and still I get the same error.
But this: java-1_6_0-sun-devel is missing.

ps.: wipe out those openjdk things, just a waste of space you'll never use it - it can be confusing sometimes...
__________________
http://akoskm.blogspot.com/
http://yami.googlecode.com/

Do not login directly as root - Thank you!
Reply With Quote
  #3 (permalink)  
Old 27-Sep-2009, 10:13
Puzzled Penguin
 
Join Date: Aug 2009
Posts: 10
stanc hasn't been rated much yet
Default Re: Netbean + JDK + modules

Thank you ram88!

I installed java-1_6_0-sun-devel and all the modules loaded up fine

I am using /usr/lib64/jvm/java-1.6.0-sun-1.6.0/ path for my netbeans_jdkhome

[s]Just one more thing though, I installed netbeans-extra for the NetBeans UML support but it doesn't seem to be in the project list. Is there a way of adding that module in?[/s]
I just added it from the plugins list.

Last edited by stanc; 27-Sep-2009 at 10:18. Reason: UML
Reply With Quote
  #4 (permalink)  
Old 27-Sep-2009, 11:29
ram88's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: relative
Posts: 1,169
ram88 hasn't been rated much yet
Send a message via MSN to ram88 Send a message via Skype™ to ram88
Default Re: Netbean + JDK + modules

Good to hear that it's worked! Happy coding!
__________________
http://akoskm.blogspot.com/
http://yami.googlecode.com/

Do not login directly as root - Thank you!
Reply With Quote
Reply

Bookmarks

Tags
netbeans java modules jdk


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2