LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 02-19-2003, 04:22 PM   #1
OneDragonWon
LQ Newbie
 
Registered: Jan 2003
Distribution: Mandrake 8.2
Posts: 13

Rep: Reputation: 0
Angry openiing a file


i downloaded a file, i saved it as "javathing". it is a java compiler. i try to open it, and it opens the text of the file, all i see is code. i tried doing what someone told me...go to a terminal and type "chmod +x javathing". did i do sometihng wrong or is there something else i can do?
 
Old 02-19-2003, 04:36 PM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
You shouldn't try to 'open' a compiler, you should run it:
./javathing (in a terminal)
edit: I think you got a great answer in this thread: http://www.linuxquestions.org/questi...threadid=46162

Last edited by iceman47; 02-19-2003 at 04:43 PM.
 
Old 02-19-2003, 10:34 PM   #3
OneDragonWon
LQ Newbie
 
Registered: Jan 2003
Distribution: Mandrake 8.2
Posts: 13

Original Poster
Rep: Reputation: 0
i get errors...file does not exist/directory does not exist... i tried to run the file, thats when the text stuff came up
 
Old 02-20-2003, 03:13 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Hi. Acid pretty much gave you the farm there. You need to be in the directory where the file exists to chmod it. So wherever you downloaded it to, go there (via the command line) and then follow his instructions.

Cool
 
Old 02-20-2003, 03:37 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
well you can take a horse to water..... j/k

morning all.
 
Old 02-20-2003, 09:39 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Morning, yeah, but you gave him a lake...

Mornin Chris
 
  


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
File recovery after partition table damage - XFS file system gracecourt Linux - General 4 09-28-2017 06:29 PM
forrtl: severe (47): write to READONLY file, unit 5, file /dev/pts/1 terrence Programming 1 10-01-2005 11:22 PM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 04:15 AM
Yum update complains missing file (broken dep), but file can be located. davidas Linux - Software 0 03-27-2004 10:11 PM
How to play a media file/ video file/mp3 file recorded in harddisk/cd-rom arindam Linux - Newbie 2 09-05-2003 11:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:45 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