How do I install Netbeans 6.0 on Ubuntu 7.10?

Asked by Kevin Miles

I have downloaded Netbeans 6.0 to the desktop. How do I install it on Ubuntu 7.10?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu file-roller Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Markus Thielmann (thielmann) said :
#1

You should have a ".sh" file.

1) Open a terminal (Application->Accessories->Terminal)
2) run "cd Desktop"
3) run "sh netbeans-<whatever-file-you-downloaded>-.sh"

Netbeans should now start it's installer. If you face any errors, please report back.

Besides that: Ubuntu 8.04 (Hardy Heron) -which will be released in April- will have Netbeans 6 in it's repositories. So you'll be able to install it by just calling "Applications->Add/Remove".

Revision history for this message
Kevin Miles (miles-kevin) said :
#2

Thanks, Mark. It seems to be sitting there. The netbeans installer opens,
but it is blank. Any ideas?

On Sun, Mar 2, 2008 at 5:12 PM, Markus Thielmann <
<email address hidden>> wrote:

> Your question #26159 on file-roller in ubuntu changed:
>
> https://answers.edge.launchpad.net/ubuntu/+source/file-roller/+question/26159
>
> Status: Open => Answered
>
> Markus Thielmann proposed the following answer:
> You should have a ".sh" file.
>
> 1) Open a terminal (Application->Accessories->Terminal)
> 2) run "cd Desktop"
> 3) run "sh netbeans-<whatever-file-you-downloaded>-.sh"
>
> Netbeans should now start it's installer. If you face any errors, please
> report back.
>
> Besides that: Ubuntu 8.04 (Hardy Heron) -which will be released in
> April- will have Netbeans 6 in it's repositories. So you'll be able to
> install it by just calling "Applications->Add/Remove".
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.edge.launchpad.net/ubuntu/+source/file-roller/+question/26159/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.edge.launchpad.net/ubuntu/+source/file-roller/+question/26159
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Markus Thielmann (thielmann) said :
#3

You might have no java jdk installed.

1) run "sudo apt-get install sun-java6-jdk sun-java6-jre sun-java6-plugin" in terminal
2) Run "sudo update-alternatives --config java" and make sure java6 is selected as default.
3) Run the installer again

Revision history for this message
Kevin Miles (miles-kevin) said :
#4

Followed instructions. No luck.
This is what I get before it hangs up...
Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
Running the installer wizard...
/usr/share/themes/Human/gtk-2.0/gtkrc:71: Engine "ubuntulooks" is
unsupported, ignoring
/usr/share/themes/Human/gtk-2.0/gtkrc:242: Priority specification is
unsupported, ignoring

On Sun, Mar 2, 2008 at 5:56 PM, Markus Thielmann <
<email address hidden>> wrote:

> Your question #26159 on file-roller in ubuntu changed:
>
> https://answers.edge.launchpad.net/ubuntu/+source/file-roller/+question/26159
>
> Status: Open => Answered
>
> Markus Thielmann proposed the following answer:
> You might have no java jdk installed.
>
> 1) run "sudo apt-get install sun-java6-jdk sun-java6-jre sun-java6-plugin"
> in terminal
> 2) Run "sudo update-alternatives --config java" and make sure java6 is
> selected as default.
> 3) Run the installer again
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.edge.launchpad.net/ubuntu/+source/file-roller/+question/26159/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.edge.launchpad.net/ubuntu/+source/file-roller/+question/26159
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Kevin Miles (miles-kevin) said :
#5

Followed instructions. No luck.

This is what I get before it hangs up...
Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
Running the installer wizard...
/usr/share/themes/Human/gtk-2.0/gtkrc:71: Engine "ubuntulooks" is
unsupported, ignoring
/usr/share/themes/Human/gtk-2.0/gtkrc:242: Priority specification is
unsupported, ignoring

On Sun, Mar 2, 2008 at 5:56 PM, Markus Thielmann <
<email address hidden>> wrote:

> Your question #26159 on file-roller in ubuntu changed:
>
> https://answers.edge.launchpad.net/ubuntu/+source/file-roller/+question/26159
>
> Status: Open => Answered
>
> Markus Thielmann proposed the following answer:
> You might have no java jdk installed.
>
> 1) run "sudo apt-get install sun-java6-jdk sun-java6-jre sun-java6-plugin"
> in terminal
> 2) Run "sudo update-alternatives --config java" and make sure java6 is
> selected as default.
> 3) Run the installer again
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.edge.launchpad.net/ubuntu/+source/file-roller/+question/26159/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.edge.launchpad.net/ubuntu/+source/file-roller/+question/26159
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

Seems like solved this: http://ubuntuforums.org/showthread.php?t=254895

Hope this helps

Revision history for this message
UpWeardale (upweardale) said :
#7

Find the java home directory I did this from Synaptic :
Did a right click on the sun-java6-jdk and displayed properties and have a look at the installed files to find the common filepath - on mine it was /usr/lib/jvm/java-6-sun-1.6.0.03/

Once you've got that add it as a parameter to your shell command so it looks something like
 sh ./netbeans-6.0.1-ml-linux.sh --javahome /usr/lib/jvm/java-6-sun-1.6.0.03/

IHope that solves it

Can you help with this problem?

Provide an answer of your own, or ask Kevin Miles for more information if necessary.

To post a message you must log in.