LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Java on Konqueror (https://www.linuxquestions.org/questions/linux-software-2/java-on-konqueror-86492/)

deca_sk8 08-28-2003 02:03 AM

Java on Konqueror
 
Before I tell you my problem, I would like to say that I am a :newbie:
Couple days of using Linux, maybe a week.
Ok, so here it is, I just installed the Java plug-in from Sun but I can't get it to work on Konqueror. It worked in Mozilla but not in Konqueror.
I get :
Quote:

Error: java executable not found
I want to play the games on freearcade.com but I keep getting that error in Konqueror

The path for the java executable is: java
Isn't it that what it should be:confused:

leonscape 08-28-2003 02:09 AM

Your probably missing a symlink. Type into a console
which java

If you get nothing but the prompt back then thats the problem.
if it was sun check /usr/java/j2re1.4.2 if this directory exists. do the following as root (su).

cd /usr/bin
ln -s /usr/java/j2re1.4.2/bin/java java

This should solve the problem.

salparadise 08-28-2003 02:12 AM

try modifying the path to

/usr/java/j2re1.4.1_01/bin/java


make sure the version number of java matches the one you installed

i think the latest version is 1.4.2

leonscape 08-28-2003 02:13 AM

Modifying the PATH for java is a bit OTT dontcha think?

megaspaz 08-28-2003 03:16 AM

in konq, click Settings > Configure Konqueror in the menu bar.
in the left pane select the icon labeled Plugins. by default, your mozilla path should be listed in the window on the right. if it's not, add the path to mozilla where the java plugin is installed and working to the path. click the find new plugins button.

now on the left hand pane scroll and click the icon labeled Java & JavaScript. click the Java tab on the right pane and make sure the box labeled Enable Java Globally is checked. do the same for the Javascript tab (if you want to enable javascript that is).

Click the apply button and then the ok button. you should be able to access the applets on websites.

salparadise 08-28-2003 03:30 AM

oops

yes
i meant modify the path to the java executable for konqueror

forgot that "modify the path" meant something else in linux as well

sorry

deca_sk8 08-28-2003 04:05 PM

Didn't work
 
I changed the thing in Konqueror to /usr/java/j2re1.4.2/bin/java but I still get the error saying that it can't find the executable.

deca_sk8 08-28-2003 04:07 PM

Nevermind
 
I just clicked on the check for new plug-ins thing and I tried again and it worked. :D :D :D


All times are GMT -5. The time now is 10:29 PM.