Friday, May 3, 2024
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 16945  / 2 Years ago, thu, november 25, 2021, 6:47:21

I'm planning on installing Netbeans 7.2.1 on my Ubuntu 12.10. So far I've already installed JDK 7u11 without any problems and already downloaded Netbeans from Oracle site.



My question is this: Where should I install Netbeans? Should I accept the default /usr/local/netbeans-7.2.1 or should I change this path to my /home?



I'm questioning because someone told me not to install it in the default proposed installation path because later on I’ll be more than likely to run into permissions problems down the line. Working with Netbeans I would not have permissions to write in that folder thus disabling me from adding Libraries to my projects, installing and uninstalling plugins to the IDE, and even with Glassfish server configuration.



I've googled in order to cast a light on my doubts to no avail. The only thing I found was this thread at Netbeans forum which brought even some more doubts.



Can anyone help me?


More From » installation

 Answers
0

You don't need to run the installer using sudo and you don't need to install it in a system folder, such as /usr/local/. Just run the installer normally and choose to install it in your home directory. If you don't want the netbeans and glassfish folders cluttering up your home folder, you can install them in a sub-folder in your home folder, such as local or Library or whatever.



You will be able to run Netbeans by clicking on the launcher it creates. However, if you want to run it from the command line at all, you will need to add the Netbeans' bin folder to the system path. You can do this by opening your .bashrc file in a text editor and adding this line at the bottom (modified according to where you installed Netbeans):



export PATH=$PATH:~/netbeans-7.2.1/bin

[#32927] Friday, November 26, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
irtuallyefu

Total Points: 429
Total Questions: 97
Total Answers: 119

Location: Hong Kong
Member since Tue, Oct 19, 2021
3 Years ago
irtuallyefu questions
;