LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-01-2004, 09:37 PM   #1
TroelsSmit
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223

Rep: Reputation: 30
Java, I have downloaded the .bin file and run it ... now what ?


Hi,

I have downloaded the j2re1.4.2-03.bin (also tried with the new 1.5.0 - same problems), and I have run the installation procedure as a root with the -localinstall parameter (I have also tried without it).

After the installation has finished a directory is installed with java in it. I can run the java/javac files from the directory, but I have several problems.

1. How do I install the man pages ?
2. How do I get the virtual machine to work ? (I need it for matlab to work).
Here is the error:
troels@sandeb:~...java/j2re1.5.0/bin>./java_vm {1022}[3:34]
Error occurred during initialization of VM
Unable to load native library: libjvm.so: cannot open shared object file: No such file or directory
Exit 1
3. How do I link the java/javac files to /usr/local/bin ?

4. Why isn't all this done automatic ?

Im running a Linux Debian with a 2.6.2 kernel on a i686

Thanks,
Troels
 
Old 03-01-2004, 10:22 PM   #2
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
did you read the install instructions and add the java/bin to your path variable as instructed ?

basically edit your $HOME/.bash_profile.
find the part where the $PATH is created, and add java's bin path to it.

Last edited by qwijibow; 03-01-2004 at 10:25 PM.
 
Old 03-02-2004, 08:46 AM   #3
TroelsSmit
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223

Original Poster
Rep: Reputation: 30
Hi ,

thanks for you reply, I did read the installation instructions, which does not resolve any of my questions.
The reply you have would have me able to execute java/javac from other places, but does actually (I think) not answer any of my listed questions - it solves question 3 - but not in the way I would prefer.

Thanks,
Troels
 
Old 03-02-2004, 11:48 AM   #4
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
adding it to the path is a required step.
many java programs do not specify the location of the java
executables, and will not function without it.

i thought maybe that was one of these programs.
 
  


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
Downloaded java installers give corrupt file? MadCactus Linux - Software 3 09-29-2004 09:16 PM
Looking to run java commands outside bin/ nro Linux - Newbie 7 08-25-2004 03:40 AM
How to run a .bin file? gschrade Linux - Newbie 3 11-11-2003 12:15 AM
How do you run a .BIN file? M4A1Carbine Linux - Newbie 3 10-22-2003 06:50 PM
can't run file .bin, please help lomaree Linux - Software 24 05-29-2003 06:26 PM


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