Guest Skuttfarkuss Posted December 5, 2004 Report Share Posted December 5, 2004 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? Quote Link to comment Share on other sites More sharing options...
scoopy Posted December 5, 2004 Report Share Posted December 5, 2004 Welcome, Konq needs a symlink for java to work: [scoopy@localhost scoopy]$ su Password: [root@localhost scoopy]# cd /usr/bin [root@localhost bin]# ln -s /usr/java/j2re1.4.2_01//bin/java java [root@localhost bin]# then [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: http://java.com/en/download/help/testvm.jsp Quote Link to comment Share on other sites More sharing options...
chris z Posted December 5, 2004 Report Share Posted December 5, 2004 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". Chris Quote Link to comment Share on other sites More sharing options...
unholy Posted December 5, 2004 Report Share Posted December 5, 2004 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 /home/unholy/programming/documents/TIPatterns/code/javac.mac /home/unholy/j2sdk1.4.2_02/bin/javac /home/unholy/j2sdk1.4.2_02/man/man1/javac.1 /home/unholy/j2sdk1.4.2_02/man/ja_JP.eucJP/man1/javac.1 /usr/share/doc/gettext-devel-0.14.1/examples/config/javacomp.m4 /usr/share/doc/gettext-devel-0.14.1/examples/config/javacomp.sh.in /usr/share/vim/compiler/javac.vim /usr/share/vim/syntax/javacc.vim Just remember that any new files on your machine wont be in the database until you run 'updatedb'! Quote Link to comment Share on other sites More sharing options...
Guest Skuttfarkuss Posted December 6, 2004 Report Share Posted December 6, 2004 Thanks for the responses. I got it going finally with your help . Now if I can just get Firefox to install. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.