LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 07-12-2005, 08:56 AM   #1
Sir Nerdalot
LQ Newbie
 
Registered: Jul 2005
Location: UK
Distribution: Fedora Core 3
Posts: 6

Rep: Reputation: 0
Installing JBuilder, but get error regarding Shell Script


I have downloaded JBuilder 2005 Foundation, so I can do some Java Development on Linux. Unfortunately I am a lot of a newbie still, and am probably trying to run before I can walk.

I have unpacked the files, and read the installation noters, which say it must be installed as root (fine with that), and must be done witin X Windows. JDK is already installed, so it tells me just to double click the install.bin file. I do this, and get a message saying that this is a shell script, and that I should change it's extension to the correct extension, or use Open With to select a suitable application.

I don't know the answer to either of those questions.

Also, not knowing where to put the unpacked files, I have put them under a new folder called JBuilder under /usr. Is that the right sort of thing to do.

Can anybody help, if I promise to knuckle down and learn Linux a bit quicker

Ta

(Running Fedora Core 3)

 
Old 07-12-2005, 10:21 AM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
Hi.

First thing first: if you go to `My LQ' (upper right of the page) -> Edit Profile -> Distro and type in your distro(s), you don't have to repeat 'em all the time

Second of all, I think it would be smarter to see if there's an rpm for the program you're trying to install, rather than just grab it off the project page.

Third of all, you should read `Smart Questions' (google for it). Not that you're doing particularly bad, but you could do better

Fourth, the questions you're actually asking

Quote:
I do this, and get a message saying that this is a shell script, and that I should change it's extension to the correct extension, or use Open With to select a suitable application.
1) Open a console (Menu -> ... -> Run -> `xterm')
2) cd into the directory where the shellscript is (`cd /where/ever/it/is/')
3) run it (`./name_of_script.sh')

Quote:
I have put them under a new folder called JBuilder under /usr. Is that the right sort of thing to do.
/usr/local/JBuilder would be better -- /usr/local is meant for the admin (i.e. you) to install his programs of choice (and most distros don't touch anything in it). Some people also use /opt for that purpose.

To run it without typing the full path, either (1) add /usr/local/JBuilder to your $PATH -- or (2) create a symlink in /usr/bin (or anywhere else in your $PATH) to the exectuable).

---

BUT! Please: do yourself a favor and look for an rpm first.

Hope I'm intelligible and helpful --Jonas
 
  


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
shell script help required syntax error sridhar11 Programming 1 10-31-2005 09:38 AM
Help With A Shell Script Error PhantomFX Linux - Newbie 3 02-17-2005 05:42 AM
Shell Script Error Gerardoj Linux - General 2 12-03-2003 10:44 AM
installing shell script hoffman Linux - Newbie 14 11-16-2003 12:00 AM
Shell script error. chuck77 Linux - General 3 11-30-2001 12:30 AM


All times are GMT -5. The time now is 07:27 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration