trying to load netbean on ubuntu

View: New views
5 Messages — Rating Filter:   Alert me  

trying to load netbean on ubuntu

by bartee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Looking at shell session below..

This is ubuntu 8.04  I am a noob, just trying to get netbeans loaded.

java -version shows 1.5.0 loaded

trying to load netbeans, it does not see the JVM ?

any help ???






bartee@bartee-linux:~/MyDownloads/NetBeans61$ java -version
java version "1.5.0"
gij (GNU libgcj) version 4.2.3 (Ubuntu 4.2.3-2ubuntu6)

Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
xxxxx@xxxxx-linux:~/MyDownloads/NetBeans61$ ./netbeans-6.1-ml-ruby-linux.sh
Configuring the installer...
Searching for JVM on the system...
Java SE Development Kit (JDK) was not found on this computer
JDK 6 or JDK 5 is required for installing the NetBeans IDE. Make sure that the JDK is properly installed and run installer again.
You can specify valid JDK location using --javahome installer argument.

To download the JDK, visit http://java.sun.com/javase/downloads
bartee@bartee-linux:~/MyDownloads/NetBeans61$


Re: trying to load netbean on ubuntu

by Avi Schwartz-14 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

bartee wrote:
> Looking at shell session below..
>
> This is ubuntu 8.04  I am a noob, just trying to get netbeans loaded.
>
> java -version shows 1.5.0 loaded
>
> trying to load netbeans, it does not see the JVM ?
>  

This is because Ubuntu store the JVM in a non-standard place.  You will
have to tell it during the installation to look for it in the
/usr/lib/jvm/...
Since I have JVM 1.6 installed the path in my case is
/usr/lib/jvm/java-6-sun

Avi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: trying to load netbean on ubuntu

by Anthony Richardson-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You need to install the sun JVM from the Ubuntu repositories, the GNU JVM is too sucky to work right.

sudo apt-get sun-java6-jdk sun-java6-jre

(I'm not 100% sure if you need the JDK or just the JRE, but I have both installed)

If you experience dialogs appearing blank within Netbeans this is a known issue with some java applications when Compiz is running (Ubuntu hardy uses Compiz). I have installed the latest beta of Java SDK 1.6.0_10-beta-b25 from suns website and this has fixed that for me.

Cheers,

Anthony

On Mon, Jul 14, 2008 at 8:48 AM, bartee <bartee@...> wrote:

Looking at shell session below..

This is ubuntu 8.04  I am a noob, just trying to get netbeans loaded.

java -version shows 1.5.0 loaded

trying to load netbeans, it does not see the JVM ?

any help ???






bartee@bartee-linux:~/MyDownloads/NetBeans61$ java -version
java version "1.5.0"
gij (GNU libgcj) version 4.2.3 (Ubuntu 4.2.3-2ubuntu6)

Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
xxxxx@xxxxx-linux:~/MyDownloads/NetBeans61$ ./netbeans-6.1-ml-ruby-linux.sh
Configuring the installer...
Searching for JVM on the system...
Java SE Development Kit (JDK) was not found on this computer
JDK 6 or JDK 5 is required for installing the NetBeans IDE. Make sure that
the JDK is properly installed and run installer again.
You can specify valid JDK location using --javahome installer argument.

To download the JDK, visit http://java.sun.com/javase/downloads
bartee@bartee-linux:~/MyDownloads/NetBeans61$


--
View this message in context: http://www.nabble.com/trying-to-load-netbean-on-ubuntu-tp18435131p18435131.html
Sent from the NetBeans Ruby - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...



Re: trying to load netbean on ubuntu

by Paul Fraser-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Anthony Richardson wrote:
> If you experience dialogs appearing blank within Netbeans this is a
> known issue with some java applications when Compiz is running (Ubuntu
> hardy uses Compiz). I have installed the latest beta of Java SDK
> 1.6.0_10-beta-b25 from suns website and this has fixed that for me.
>
Good one, Anthony.
I have been wondering what the problem was.

Thanks
Paul Fraser

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: trying to load netbean on ubuntu

by Amit k. Saha :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Jul 14, 2008 at 4:48 AM, bartee <bartee@...> wrote:

>
> Looking at shell session below..
>
> This is ubuntu 8.04  I am a noob, just trying to get netbeans loaded.
>
> java -version shows 1.5.0 loaded
>
> trying to load netbeans, it does not see the JVM ?
>
> any help ???
>
>
>
>
>
>
> bartee@bartee-linux:~/MyDownloads/NetBeans61$ java -version
> java version "1.5.0"
> gij (GNU libgcj) version 4.2.3 (Ubuntu 4.2.3-2ubuntu6)
>
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> xxxxx@xxxxx-linux:~/MyDownloads/NetBeans61$ ./netbeans-6.1-ml-ruby-linux.sh
> Configuring the installer...
> Searching for JVM on the system...
> Java SE Development Kit (JDK) was not found on this computer
> JDK 6 or JDK 5 is required for installing the NetBeans IDE. Make sure that
> the JDK is properly installed and run installer again.
> You can specify valid JDK location using --javahome installer argument.
>
> To download the JDK, visit http://java.sun.com/javase/downloads
> bartee@bartee-linux:~/MyDownloads/NetBeans61$

You could consider using the '--javahome' switch:

xxxxx@xxxxx-linux:~/MyDownloads/NetBeans61$
./netbeans-6.1-ml-ruby-linux.sh --javahome <your JVM location>


HTH,
Amit
--
Amit Kumar Saha
http://blogs.sun.com/amitsaha/
http://amitksaha.blogspot.com
Skype: amitkumarsaha

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

LightInTheBox - Buy quality products at wholesale price