LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   javavm doesn't work (https://www.linuxquestions.org/questions/linux-newbie-8/javavm-doesnt-work-146111/)

dmitree 02-14-2004 04:31 PM

javavm doesn't work
 
Ok i just got linux yesterday and installed java.
Now I installed Java 2 RE and is that supposed to have VM cause some Java things work others don't(VM)
How do i get VM to work? or do i need to Download it????
please help :cry:

dmitree 02-14-2004 04:41 PM

please help im desprate...
i have mozilla if that helps

dmitree 02-14-2004 04:47 PM

ok i see a java_vm in /usr/java/j2re1.4.2_03/bin.... how do i make it work ?????

dmitree 02-14-2004 04:59 PM

my bad i get a puzzle piece shape and it said i need x-java-vm....didn't notice the x
where do i get that or do i have to make it?

Looking_Lost 02-14-2004 05:05 PM

The java plugin question :)


open a command line a cnage into your mozilla plugin directory

e.g

cd /usr/lib/mozilla-1.6/plugins (or whatever/wherever it is)

do

ln -s /usr/java/j2re1.4.2_03/jre/plugin/i386/ns610-gcc32/libjavaplugin.so (this path may be different as I use the sdk)

Point is - you want to cd into your mozilla plugins directory and make a link, ln -s, to the file libjavaplugin.so wherever it may be on your system


PS. It is an applet in your browser you're trying to run, yeah?

dmitree 02-14-2004 05:34 PM

it still doesnt work , i have parts of java working
like ok when you go to the java web and check for your VM all i see is a puzzle piece and it says im missing "application/x- java- vm"

Looking_Lost 02-14-2004 05:44 PM

If you open mozill and under the help menu -> about plugins and there is no mention of java at all then the plugin isn't installed properly or it's the libjavaplugin_oji.so (I said libjavaplugin.so wrongly before) in the other directory called ns610 you have to make a link to.

vectordrake 02-15-2004 07:46 AM

For the vm, you'll have to add your path to java to your .bashrc file. Hit the search button below my post. The answers to both questions are there.

dmitree 02-15-2004 09:52 AM

Looking Lost thank you so much!


All times are GMT -5. The time now is 09:50 AM.