The Geek Culture Forums
Ask a Geek! Bad interpereter?
|
UBBFriend: Email This Page to Someone! | next newest topic | next oldest topic |
Author | Topic: Bad interpereter? |
TheAnnoyedCockroach Uber Geek Posts: 817 |
posted August 19, 2002 15:28
So for the past... week, I dunno, I've been trying to get Java support in Mandrake Linux 8.1. I have so far downloaded two files: the Java runtime environment, and the Java SDK (I've no clue what that is, but I'm running out of ideas). Both are .bin files, and neither will run on my computer. If I try to execute them in shell, I get the following message: I've tried doing this in root as well, but I still get the same message. My question is this: What the bloody hell am I doing wrong here? ------------------ IP: Logged |
Lex Super Geek Posts: 240 |
posted August 19, 2002 17:53
Thats odd. It has its executable bit set, right? I have seen .bin used for executables and disk images, but mostly on a mac. Sure you've got the right files? You sure that you don't have a java environment pre-installed? You'd think they would come default these days. IP: Logged |
TheAnnoyedCockroach Uber Geek Posts: 817 |
posted August 19, 2002 17:57
Nope, there's definately no Java in Mandrake to be found. When? When's gonna be my time, lord? ------------------ IP: Logged |
GMx Super Geek Posts: 165 |
posted August 19, 2002 17:59
Don't know much about linux, but I know that SDK is a developer's kit for making apps for a certain proram. IP: Logged |
Lex Super Geek Posts: 240 |
posted August 19, 2002 18:30
You got the version called "Linux GNUZIP Tar shell script", right? It's a shell script, but it must be marked executable before it can be used. chmod +x filename should do this. The difference between the SDK and the standard version is most likely that it has a compiler and perhaps a few other tools. Or perhaps both have the compiler and only the SDK has the extra tools. Either way, the standard version will let you run Java programs and the SDK will let you write Java programs. It might help to be root when you do this, but it probably isn't necessary. IP: Logged |
TheAnnoyedCockroach Uber Geek Posts: 817 |
posted August 19, 2002 18:34
Aye, that's the version. Though it didn't download as a tar.gz. That stinks, 'cause I can work those files. Ah, well now I've the mystery of the sdk solved. I suppose I can just focus on the runtime environment now. ------------------ IP: Logged |
Lex Super Geek Posts: 240 |
posted August 19, 2002 19:44
Hmmm. Well, without having a linux box myself, this is the last of the help I can give you for that problem. The file, being a shell script, ran just fine for me. I altered one line and it coughed up an ELF binary, which appears to be a self-extracting installer. I tar.gz'd and made it available here: http://muffy.homeip.net/j2re.tar.gz Download, extract, execute. Hopefully it should work. That file should be available unless my computer is asleep or off. One other thing. This is an x86 type PC we're talking about, right? Cause it won't work with Mandrake PPC. Just checking. IP: Logged |
GameMaster Highlie Posts: 668 |
posted August 19, 2002 21:47
sounds like you need the Java Virtual Machine, which should be part of the Java SDK (Standard Development Kit)... Move the *.bin files to /bin, or try and run the like this ./whatever.bin... In order to run a Java program, you type in the console: The JVM (Java Virtual Machine) should be shipped as part of the OS and as part of the SDK, if the above doesn't help, try posting a question on the forums at java.sun.com IP: Logged |
Lex Super Geek Posts: 240 |
posted August 20, 2002 06:52
eh, the JVM should be in the standard as well. else, what would be in there? SDKs have compilers, runtime environment comes with both. IP: Logged |
TheAnnoyedCockroach Uber Geek Posts: 817 |
posted August 20, 2002 07:53
Thanks for your help all! Lex, the tar.gz file worked perfectly. I've got java support... finally. ------------------ IP: Logged |
All times are Pacific Time | next newest topic | next oldest topic |
� 2002 Geek Culture� All Rights Reserved.
Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.47e