Jump to content

Java help needed [SOLVED]

Guest Skuttfarkuss

Recommended Posts

Guest Skuttfarkuss

I am a Linux newbie and loving it so far. They can keep Windows but I am having some minor problems getting things running as they should and java is one of them. When I click on a link in my browser (Konqueror) that opens a java window I get the message that the jave executable file could not be found. I have downloaded and installed java succesfully. I know I need to tell the browser where to find the file and I know how to do that if I just knew where to find the file myself. I know where the main jave directory is but how do I identify the excutable file?

Link to comment
Share on other sites



Konq needs a symlink for java to work:

[scoopy@localhost scoopy]$ su
[root@localhost scoopy]# cd /usr/bin
[root@localhost bin]# ln -s /usr/java/j2re1.4.2_01//bin/java java
[root@localhost bin]#



[root@localhost scoopy]# cd /usr/lib/netscape/plugins
[root@localhost plugins]# ln -s /usr/java/j2re1.4.2_01/plugin/i386/ns4/libjavaplugin.so  libjavaplugin.so


now goto:

K --> Configuration --> Configure your Desktop

under WebBrowsing, be sure Endable Java globally is checked and,

under Plugins click on Scan for New Plugins.


Restart your browser and you should be good to go.


Here's a test page:


Link to comment
Share on other sites

another way to get Java working in Konqueror............


open Kontrol Center (IE: configure your desktop)->web browsing->java & javascript, & in the box where it says "path to java executable, or java" point it to /usr/java/jre<version #>/bin/java, then click apply.


for help with Java in Mozilla, see my post #39 in This Thread. it's for an earlier version of Java, but the intructions are still valid. just replace the version # i used there with the current one.


and, for Java in Opera (should you need it), go to tools->preferences->multimedia & in the "Java path" box make it point to /usr/java/jre<version #>/lib/i386/, "apply"->"ok".



Link to comment
Share on other sites

Im relatively new to linux myself, and I the way I find best to find a file is to use 'locate'. You just run 'updatedb' as root to update the database - then whenever you want to find something, just do this..

[unholy@localhost unholy]$ locate javac


Just remember that any new files on your machine wont be in the database until you run 'updatedb'!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...