netbeans install propeply but don't work

Bug #113410 reported by ketrox
4
Affects Status Importance Assigned to Milestone
netbeans5.5 (Ubuntu)
Fix Released
Undecided
Marek Slama

Bug Description

Binary package hint: netbeans5.5

i'm running ubuntu feisyty
I can install netbeans but i never come over the splash screen when i try to run in

Revision history for this message
Marek Slama (mslama-email) wrote :

How do you start NetBeans? Is Java already running? (IDE launcher is shell script which starts java process.)

Revision history for this message
Marek Slama (mslama-email) wrote :

If you see splash screen it looks like Java process is already started. Then use jps from JDK to get PID of NetBeans and then jstack to get thread dump. Then please attach it here. I recommend to use JDK 6 as jstack from JDK 6 is able to dump thread dump even from running process. You can set JDK for IDE either on command line using --jdkhome <Path to JDK> or by modifying /etc/netbeans5.5/netbeans.conf: Change line starting with "netbeans_jdkhome=". Of course lines starting with # are comments.

Revision history for this message
ketrox (ketrox) wrote :

SO i found out what was wrong , java 6 was installed but the system was using another jvm wich comes with ubuntu i remove it and now it works fine .Thanks

Revision history for this message
Marek Slama (mslama-email) wrote :

It depends what java is set as default alternative. You can either set Sun Java as default (either 6 or 5) or modify /etc/netbeans5.5/netbeans.conf: Add line
netbeans_jdkhome="/usr/lib/jvm/java-6-sun"
to point to Sun JDK 6 or
netbeans_jdkhome="/usr/lib/jvm/java-1.5.0-sun"
to point to Sun JDK 5 depending what JDK version is installed.
I added code to postinstall step to patch newly created netbeans.conf (if there si already one in /etc/netbeans5.5 user will have to modify it manualy or run purge on netbeans5.5 package first.

Changed in netbeans5.5:
assignee: nobody → mslama-email
status: Unconfirmed → Confirmed
Revision history for this message
Marek Slama (mslama-email) wrote :

Fixed in netbeans5.5 5.5.1-1

Changed in netbeans5.5:
status: Confirmed → Fix Committed
Revision history for this message
Daniel Holbach (dholbach) wrote :

5.5.1-1 is in Gutsy.

Changed in netbeans5.5:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.