LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-11-2009, 04:22 AM   #1
Zac Matthew Joseph
LQ Newbie
 
Registered: Sep 2008
Distribution: pendrive- ubuntu, mandriva
Posts: 21

Rep: Reputation: 15
Red face Problem with Netbeans.sh


Cannot install netbeans.sh on ubuntu 8.10. It simply doesnt recognize the file.
 
Old 09-11-2009, 11:25 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
The command is : 'sh netbeans.sh'

Or you can do : 'chmod +x netbeans.sh'
and then : ' ./netbeans.sh '
 
Old 09-15-2009, 04:29 AM   #3
Zac Matthew Joseph
LQ Newbie
 
Registered: Sep 2008
Distribution: pendrive- ubuntu, mandriva
Posts: 21

Original Poster
Rep: Reputation: 15
Unhappy Doesnt work

Says that file of directory not found.
 
Old 09-15-2009, 04:32 AM   #4
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
post the error it shows..i cant understand anything from the error you posted..i think it might be
Code:
no such file or directory
go to the directory where you saved the netbeans.sh and give the output of
Code:
ls -l netbeans.sh

Last edited by mobinskariya; 09-15-2009 at 04:33 AM.
 
Old 09-15-2009, 04:55 AM   #5
Zac Matthew Joseph
LQ Newbie
 
Registered: Sep 2008
Distribution: pendrive- ubuntu, mandriva
Posts: 21

Original Poster
Rep: Reputation: 15
Heres the output

root@ubuntu:/media/win_1# chmod 777 netbeans.sh
root@ubuntu:/media/win_1# sh netbeans.sh
: not found: 37:
: not found: 50:
: not found: 74:
: not found: 78:
: not found: 86:
: not found: 90:
: not found: 108:
: not found: 110:
netbeans.sh: 112: initSymlinkArgument: not found
netbeans.sh: 115: parseCommandLineArguments: not found
netbeans.sh: 116: initializeVariables: not found
netbeans.sh: 117: setLauncherLocale: not found
netbeans.sh: 118: debugLauncherArguments: not found
netbeans.sh: 161: Syntax error: word unexpected (expecting "in")
root@ubuntu:/media/win_1#
 
Old 09-15-2009, 04:58 AM   #6
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
jdk 5 or 6 must be installed first.try again after copying it into your home folder.. i had no problem installing netbeans in both ubuntu 8.10 and 9.04.

edit: error may be due to the file netbeans.sh
 
Old 09-15-2009, 05:39 AM   #7
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by Zac Matthew Joseph View Post
Says that file of directory not found.
Move to the directory where the Netbeans download is located.

Then, as root, type:

# chmod +x *.sh
# ./netbeans-6.7.1-ml-javase-linux.sh

The second entry assumes you've downloaded a recent copy of Netbeans. But if you type "./netbeans-" and then press the tab key, chances are the shell will select the right script even if it isn't the one I have. Press Enter.

Netbeans will install itself and will put a symlink in /usr/local/bin, so you won't have any difficulty running it. By the way, here is the content of my desktop shortcut for launching Netbeans (Fedora 11):

Code:
[Desktop Entry]
Encoding=UTF-8
Exec=netbeans
Icon=/usr/local/netbeans-6.7.1/nb6.7/netbeans.png
Name=NetBeans
Name[en_US]=NetBeans
Terminal=false
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
Copy the above lines into a file named "Netbeans.desktop", give it 755 permissions (rwxr-xr-x) and put a copy on your desktop.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
netbeans installation problem gaurav pant Linux - Software 2 09-16-2008 05:05 AM
NetBeans, JOGL problem. yezu Linux - Software 5 09-07-2008 02:32 AM
Problem with mysql in NetBeans 5.5 me4linux Linux - Software 1 09-05-2007 11:16 AM
LXer: Sun Announces the Latest in Open Source Tools with the Availability of NetBeans Visual Web Pack and NetBeans C/C++ Development Pack LXer Syndicated Linux News 1 12-31-2006 08:37 AM
netbeans installation problem tamtam Slackware 5 09-24-2006 11:31 AM


All times are GMT -5. The time now is 06:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration