Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > x86 64-bit Users
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

x86 64-bit Users
For the discussion of Ubuntu on the AMD 64 platform.

 
Thread Tools Display Modes
Old May 29th, 2007   #1
kiwinewt
First Cup of Ubuntu
 
kiwinewt's Avatar
 
Join Date: Apr 2007
Location: Christchurch, NZ
Beans: 6
Ubuntu 7.04 Feisty Fawn
Send a message via MSN to kiwinewt Send a message via Skype™ to kiwinewt
Netbeans 6

Hi,

I looked on here: http://ubuntuforums.org/showthread.php?t=455114 to try find the solution to my problem, so I have been researching...

I am trying to install Netbeans 6 using the .sh script downloaded from their website. First it complained that I had no Java installed. I had both J2SE 5 and 6 installed. I got past this by specifying it manually.

I now get to a point where it brings up an error about not having the right libraries installed (it wants 32-bit, im using ubuntu 64-bit)

Anyone got this working with this error? please help...

Nate
kiwinewt is offline   Reply With Quote
Old May 29th, 2007   #2
kiwinewt
First Cup of Ubuntu
 
kiwinewt's Avatar
 
Join Date: Apr 2007
Location: Christchurch, NZ
Beans: 6
Ubuntu 7.04 Feisty Fawn
Send a message via MSN to kiwinewt Send a message via Skype™ to kiwinewt
Re: Netbeans 6

Also, the specific error I am getting is:

java.lang.UnsatisfiedLinkError: /tmp/nbi-17032.tmp: /tmp/nbi-17032.tmp: wrong ELF class: ELFCLASS32

Nate
kiwinewt is offline   Reply With Quote
Old June 1st, 2007   #3
olafkock
First Cup of Ubuntu
 
Join Date: Jun 2007
Beans: 2
Re: Netbeans 6

I've managed to work around this problem by installing a 32 bit Java VM manually from java.sun.com and pointing the installer to this vm (e.g. set JAVA_HOME prior to running the installer script)

During the installation you can choose the JDK to run netbeans6m9 with. I've chosen the existing ubuntu vm then and netbeans is up and running.

Cheers,
Olaf
olafkock is offline   Reply With Quote
Old December 16th, 2007   #4
LinuxIsInnovation
Ubuntu Extra Shot
 
LinuxIsInnovation's Avatar
 
Join Date: Dec 2007
My beans are hidden!
Ubuntu 7.10 Gutsy Gibbon
Re: Netbeans 6

Can you explain what you did..?? I'm a total newbie..
__________________
Desktop: Intel Core2 Quad Q6700 2.66GHz, 2GB DDR3 RAM, nVidia 8800 Ultra, 540GB HDD (Vista Ultimate x64 + Gutsy amd64)
Laptop: Intel Core2 Duo T7700 2.4GHz, 2GB DDR2 RAM, Intel GMA950, 250GB HDD (Gutsy amd64 -- Gnome+KDE4)
LinuxIsInnovation is offline   Reply With Quote
Old December 16th, 2007   #5
helix_r
5 Cups of Ubuntu
 
Join Date: Feb 2005
Beans: 17
Re: Netbeans 6

Quote:
Originally Posted by olafkock View Post
I've managed to work around this problem by installing a 32 bit Java VM manually from java.sun.com and pointing the installer to this vm (e.g. set JAVA_HOME prior to running the installer script)

During the installation you can choose the JDK to run netbeans6m9 with. I've chosen the existing ubuntu vm then and netbeans is up and running.

Cheers,
Olaf
Are you saying that you are using the 32 bit JRE ONLY for the installer. Then, when you configure netbeans, you pointed it to a 64bit JDK?

I really don't understand this. At work, I write java code on a 32 bit windows machine everyday. Then, I compile, package and deploy to 64 bit machines in a datacenter. I've NEVER had a 32 vs 64 bit issue.

How can it make a difference for the netbeans installer? Bytecode is bytecode, it does not matter what jre runs it. Right?
helix_r is offline   Reply With Quote
Old December 16th, 2007   #6
LinuxIsInnovation
Ubuntu Extra Shot
 
LinuxIsInnovation's Avatar
 
Join Date: Dec 2007
My beans are hidden!
Ubuntu 7.10 Gutsy Gibbon
Re: Netbeans 6

Actually, I mean how do you run netbeans
The installer finishes but theres no launcher..
__________________
Desktop: Intel Core2 Quad Q6700 2.66GHz, 2GB DDR3 RAM, nVidia 8800 Ultra, 540GB HDD (Vista Ultimate x64 + Gutsy amd64)
Laptop: Intel Core2 Duo T7700 2.4GHz, 2GB DDR2 RAM, Intel GMA950, 250GB HDD (Gutsy amd64 -- Gnome+KDE4)
LinuxIsInnovation is offline   Reply With Quote
Old December 17th, 2007   #7
revchris
Just Give Me the Beans!
 
Join Date: Oct 2006
Beans: 61
Re: Netbeans 6

It should be under Programming...thats where mine's at anyway. Mine just won't run, it looks like it's trying to but there nothing. Anyone have that problem? I read a few posts that its compiz-fusion, is that it.
revchris is offline   Reply With Quote
Old January 21st, 2008   #8
Sportsdude11751
First Cup of Ubuntu
 
Join Date: Jan 2008
Beans: 5
Re: Netbeans 6

I'm having the same problem, I get it to install fine. But when I go to run it, there's no icon for it. So I go to the /usr/local/netbeans-6.0 directory and run it from there, and it brings up a blank screen. One time though I was able to create a new project.
Sportsdude11751 is offline   Reply With Quote
Old January 21st, 2008   #9
Sportsdude11751
First Cup of Ubuntu
 
Join Date: Jan 2008
Beans: 5
Re: Netbeans 6

So I have fixed the problem it appears:


sudo sh netbeans-6.0-linux.sh --javahome /usr/lib/jdk1.6.0_04

was the command I used, however because of Compiz conflicting errors, I couldn't get the netbeans icon installed, so t launch netbeans I have to go to the /usr/local/netbeans-6.0/bin and launch it from there
Sportsdude11751 is offline   Reply With Quote
Old January 31st, 2008   #10
stuffelse
5 Cups of Ubuntu
 
stuffelse's Avatar
 
Join Date: Nov 2006
Location: Minneapolis & Duluth, MN
Beans: 23
Ubuntu 7.10 Gutsy Gibbon
Re: Netbeans 6

Quote:
Originally Posted by Sportsdude11751 View Post
So I have fixed the problem it appears:

Code:
sudo sh netbeans-6.0-linux.sh --javahome /usr/lib/jdk1.6.0_04
that saved my @$$! my code was more specifically

Code:
./netbeans-6.0-linux.sh --javahome /usr/local/jdk1.6.0_04/
but either way, having the proper syntax for the command helped out bigtime!
__________________
HP L2105NR Laptop / Turion 64 1.8 / attempting Gutzy
stuffelse is offline   Reply With Quote

Bookmarks

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

Forum Jump


All times are GMT -4. The time now is 04:02 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry