ExamNotes.net  -  IT certification portal

ForumsCertResearchTop sitesNewslettersFree email
HomeRegister
Exams Notes
Practice exams
Exam games
Questions by email
Online training
Training videos
College degrees
Boot camps
Book store
Links directory
Tell a friend
For webmasters

CompTIA Exam Vouchers
Save money on CompTIA exams
Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more

* ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i

Online practice tests

Certification sites

Online university

Online college

Online education

Distance learning

Software forum

Server administration forum

Programming resources






This is interesting: Free IT Magazines | Databases help forum



General discussions > Public newsgroups > alt.os.linux > Java how can I get it to work

Show a Printable Version
Email This Page to Someone!
Receive updates to this thread






Author Java how can I get it to work
Tim
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Java how can I get it to work

Currently I use Konqueror for my web browser in linux. What I'm wondering
is how to get Java support to work. Ive already selected Enable Java
globally and Enable JavaScript globally but it still wont load Java
applets. I'm using http://wild.fiends.com/DCourt/Game.stm as test page for
it because I know how it works/looks in IE5 but no matter what I do in
Konqueror I cant get it to work.

So basically what I want to know is if there is a way and if so how.
And if not is there another web browser for linux that is more suited for
Java? (I believe I tried netscape in the pass and it didn't do any
better.)


Thanks for any help with this and also thankyou to everybody thats already
helped provide answers to my seemingly endless list of questions.










Report this post to a moderator

Old Post 06-26-02 08:25 AM
Reply w/Quote Edit/Delete Message IP: Logged
Nils O. =?iso-8859-1?Q?Sel=E5sdal?=
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: Java how can I get it to work

In article <0CfS8.1231$Qg.1425541@twister.midsouth.rr.com>, Tim wrote:
> Currently I use Konqueror for my web browser in linux. What I'm wondering
> is how to get Java support to work. Ive already selected Enable Java

In the configuration for konqueror there should be a tab for Java, set
the path to java to the java command.(e.g. /usr/java/j2sdk1.3.1/bin/java


> globally and Enable JavaScript globally but it still wont load Java
> applets. I'm using http://wild.fiends.com/DCourt/Game.stm as test page for
> it because I know how it works/looks in IE5 but no matter what I do in
> Konqueror I cant get it to work.

Try java.sun.com, it has 2 applets that I know work in konqueror

Report this post to a moderator

Old Post 06-26-02 10:25 AM
Reply w/Quote Edit/Delete Message IP: Logged
Mark
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: Java how can I get it to work

Do you have a jre installed? On my machine, I type this command: java
-version, and the output is the version of java installed on my machine.
Also, I can type this command: cd /usr/java. This leads to the directory
where the jre is installed. Do you have any luck with these commands? If
not, then you probably don't have a jre installed. Try this as well: cd
/usr/bin and then ls | less. Use the space bar to scoll down the list and
look for an entry for kaffe (another jre). When you are done looking,
press 'q' to stop the less pager.

Which distro are you using? You could check the CDs that you have, and it
might just be a matter of installing the correct RPM.


On Wed, 26 Jun 2002 05:14:36 -0400, Tim wrote:

> Currently I use Konqueror for my web browser in linux. What I'm
> wondering
> is how to get Java support to work. Ive already selected Enable Java
> globally and Enable JavaScript globally but it still wont load Java
> applets. I'm using http://wild.fiends.com/DCourt/Game.stm as test page
> for it because I know how it works/looks in IE5 but no matter what I do
> in Konqueror I cant get it to work.
>
> So basically what I want to know is if there is a way and if so how.
> And if not is there another web browser for linux that is more suited
> for Java? (I believe I tried netscape in the pass and it didn't do any
> better.)
>
>
> Thanks for any help with this and also thankyou to everybody thats
> already helped provide answers to my seemingly endless list of
> questions.

Report this post to a moderator

Old Post 06-27-02 03:25 AM
Reply w/Quote Edit/Delete Message IP: Logged
Tim
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: Java how can I get it to work

Mark wrote:

> Do you have a jre installed? On my machine, I type this command: java
> -version, and the output is the version of java installed on my machine.
> Also, I can type this command: cd /usr/java. This leads to the directory
> where the jre is installed. Do you have any luck with these commands?


tim@timscomp tim]$ java -version
Kaffe Virtual Machine
Copyright (c) 1996-2000
Transvirtual Technologies, Inc. All rights reserved
Engine: Just-in-time v3 Version: 1.0.6 Java Version: 1.1

But I Do not have the directory /usr/java

>If not, then you probably don't have a jre installed. Try this as well: cd
> /usr/bin and then ls | less. Use the space bar to scoll down the list and
> look for an entry for kaffe (another jre). When you are done looking,
> press 'q' to stop the less pager.


I do have several different files in /usr/bin that are labled java but I
have no clue what I need to do with them

> Which distro are you using? You could check the CDs that you have, and it
> might just be a matter of installing the correct RPM.


My distro is Mandrake 8.2
Further help would be greatly appreciated



> On Wed, 26 Jun 2002 05:14:36 -0400, Tim wrote:
>
>> Currently I use Konqueror for my web browser in linux. What I'm
>> wondering
>> is how to get Java support to work. Ive already selected Enable Java
>> globally and Enable JavaScript globally but it still wont load Java
>> applets. I'm using http://wild.fiends.com/DCourt/Game.stm as test page
>> for it because I know how it works/looks in IE5 but no matter what I do
>> in Konqueror I cant get it to work.
>>
>> So basically what I want to know is if there is a way and if so how.
>> And if not is there another web browser for linux that is more suited
>> for Java? (I believe I tried netscape in the pass and it didn't do any
>> better.)
>>
>>
>> Thanks for any help with this and also thankyou to everybody thats
>> already helped provide answers to my seemingly endless list of
>> questions.


Report this post to a moderator

Old Post 06-27-02 04:25 AM
Reply w/Quote Edit/Delete Message IP: Logged
Tim
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: Java how can I get it to work

Mark wrote:

> Do you have a jre installed? On my machine, I type this command: java
> -version, and the output is the version of java installed on my machine.
> Also, I can type this command: cd /usr/java. This leads to the directory
> where the jre is installed. Do you have any luck with these commands?


tim@timscomp tim]$ java -version
Kaffe Virtual Machine
Copyright (c) 1996-2000
Transvirtual Technologies, Inc. All rights reserved
Engine: Just-in-time v3 Version: 1.0.6 Java Version: 1.1

But I Do not have the directory /usr/java

>If not, then you probably don't have a jre installed. Try this as well: cd
> /usr/bin and then ls | less. Use the space bar to scoll down the list and
> look for an entry for kaffe (another jre). When you are done looking,
> press 'q' to stop the less pager.


I do have several different files in /usr/bin that are labled java and a
kaffe if I type kaffe in the console this is the response i get

[tim@timscomp bin]$ kaffe
usage: kaffe [-options] class
Options are:
-help Print this message
-version Print version number
-fullversion Print verbose version info
-ss <size> Maximum native stack size
-mx <size> Maximum heap size
-ms <size> Initial heap size
-as <size> Heap increment
-classpath <path> Set classpath
-verify * Verify all bytecode
-verifyremote * Verify bytecode loaded from network
-noverify Do not verify any bytecode
-D<property>=<value> Set a property
-verbosegc Print message during garbage collection
-noclassgc Disable class garbage collection
-v, -verbose Be verbose
-verbosejit Print message during JIT code generation
-verbosemem Print detailed memory allocation statistics
-verbosecall Print detailed call flow information
-nodeadlock Disable deadlock detection
-prof Enable profiling of Java methods
-debug * Trace method calls
-noasyncgc * Do not garbage collect asynchronously
-cs, -checksource * Check source against class files
-oss <size> * Maximum java stack size
-jar Executable is a JAR
* Option currently ignored.




but I have no clue what I need to do with them

> Which distro are you using? You could check the CDs that you have, and it
> might just be a matter of installing the correct RPM.


My distro is Mandrake 8.2
Further help would be greatly appreciated



> On Wed, 26 Jun 2002 05:14:36 -0400, Tim wrote:
>
>> Currently I use Konqueror for my web browser in linux. What I'm
>> wondering
>> is how to get Java support to work. Ive already selected Enable Java
>> globally and Enable JavaScript globally but it still wont load Java
>> applets. I'm using http://wild.fiends.com/DCourt/Game.stm as test page
>> for it because I know how it works/looks in IE5 but no matter what I do
>> in Konqueror I cant get it to work.
>>
>> So basically what I want to know is if there is a way and if so how.
>> And if not is there another web browser for linux that is more suited
>> for Java? (I believe I tried netscape in the pass and it didn't do any
>> better.)
>>
>>
>> Thanks for any help with this and also thankyou to everybody thats
>> already helped provide answers to my seemingly endless list of
>> questions.


Report this post to a moderator

Old Post 06-27-02 04:25 AM
Reply w/Quote Edit/Delete Message IP: Logged
Mark
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: Java how can I get it to work

On Thu, 27 Jun 2002 01:15:42 -0400, Tim wrote:

> Mark wrote:
>
>> Do you have a jre installed? On my machine, I type this command: java
>> -version, and the output is the version of java installed on my
>> machine. Also, I can type this command: cd /usr/java. This leads to the
>> directory where the jre is installed. Do you have any luck with these
>> commands?

>
> tim@timscomp tim]$ java -version
> Kaffe Virtual Machine
> Copyright (c) 1996-2000
> Transvirtual Technologies, Inc. All rights reserved Engine:
> Just-in-time v3 Version: 1.0.6 Java Version: 1.1
>
> But I Do not have the directory /usr/java
>
>>If not, then you probably don't have a jre installed. Try this as well:
>>cd
>> /usr/bin and then ls | less. Use the space bar to scoll down the list
>> and look for an entry for kaffe (another jre). When you are done
>> looking, press 'q' to stop the less pager.

>
> I do have several different files in /usr/bin that are labled java but
> I have no clue what I need to do with them
>
>> Which distro are you using? You could check the CDs that you have, and
>> it might just be a matter of installing the correct RPM.

>
> My distro is Mandrake 8.2
> Further help would be greatly appreciated
>
>
>
>> On Wed, 26 Jun 2002 05:14:36 -0400, Tim wrote:
>>
>>> Currently I use Konqueror for my web browser in linux. What I'm
>>> wondering
>>> is how to get Java support to work. Ive already selected Enable Java
>>> globally and Enable JavaScript globally but it still wont load Java
>>> applets. I'm using http://wild.fiends.com/DCourt/Game.stm as test
>>> page for it because I know how it works/looks in IE5 but no matter
>>> what I do in Konqueror I cant get it to work.
>>>
>>> So basically what I want to know is if there is a way and if so how.
>>> And if not is there another web browser for linux that is more
>>> suited for Java? (I believe I tried netscape in the pass and it
>>> didn't do any
>>> better.)
>>>
>>>
>>> Thanks for any help with this and also thankyou to everybody thats
>>> already helped provide answers to my seemingly endless list of
>>> questions.

Tim,

I don't know too much about Konqueror, I prefer Gnome and Mozilla myself.
When you open the KDE control Module, and click on Konqueror Browser and
then the java tab, do you see a line at the bottom that says "Path to
java executable?" Is there anything specified in the box? Can you click
on the folder and browse for the java excutable?


--
Mark
marcus@ivwnet.com

"Q: I'm having problems with my Windows software. Will you help me?"
A: Yes. Go to a DOS prompt and type "format c:". Any problems you are experiencing will cease within a few minutes."

- Eric S. Raymond

Report this post to a moderator

Old Post 06-27-02 05:25 AM
Reply w/Quote Edit/Delete Message IP: Logged
Mark
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: Java how can I get it to work

On Thu, 27 Jun 2002 01:21:26 -0400, Tim wrote:

> Mark wrote:
>
>> Do you have a jre installed? On my machine, I type this command: java
>> -version, and the output is the version of java installed on my
>> machine. Also, I can type this command: cd /usr/java. This leads to the
>> directory where the jre is installed. Do you have any luck with these
>> commands?

>
> tim@timscomp tim]$ java -version
> Kaffe Virtual Machine
> Copyright (c) 1996-2000
> Transvirtual Technologies, Inc. All rights reserved Engine:
> Just-in-time v3 Version: 1.0.6 Java Version: 1.1
>
> But I Do not have the directory /usr/java
>
>>If not, then you probably don't have a jre installed. Try this as well:
>>cd
>> /usr/bin and then ls | less. Use the space bar to scoll down the list
>> and look for an entry for kaffe (another jre). When you are done
>> looking, press 'q' to stop the less pager.

>
> I do have several different files in /usr/bin that are labled java and
> a kaffe if I type kaffe in the console this is the response i get
>
> [tim@timscomp bin]$ kaffe
> usage: kaffe [-options] class
> Options are:
> -help Print this message -version
> Print version number -fullversion Print verbose
> version info -ss <size> Maximum native stack size
> -mx <size> Maximum heap size -ms <size>
> Initial heap size -as <size> Heap increment
> -classpath <path> Set classpath -verify * Verify all
> bytecode -verifyremote * Verify bytecode loaded from
> network -noverify Do not verify any bytecode
> -D<property>=<value> Set a property -verbosegc
> Print message during garbage collection -noclassgc
> Disable class garbage collection -v, -verbose
> Be verbose
> -verbosejit Print message during JIT code generation
> -verbosemem Print detailed memory allocation
> statistics -verbosecall Print detailed call flow
> information -nodeadlock Disable deadlock detection
> -prof Enable profiling of Java methods -debug
> * Trace method calls -noasyncgc * Do
> not garbage collect asynchronously -cs, -checksource * Check
> source against class files -oss <size> * Maximum java
> stack size -jar Executable is a JAR
> * Option currently ignored.
>
>
>
>
> but I have no clue what I need to do with them
>
>> Which distro are you using? You could check the CDs that you have, and
>> it might just be a matter of installing the correct RPM.

>
> My distro is Mandrake 8.2
> Further help would be greatly appreciated



Tim,

One last word: I configured Konqueror to use the Sun JRE that I have
installed on my machine, and I was able to view the Java applet that you
mentioned below. You can download the Sun JRE for free here:
www.java.sun.com. Make sure you get the JRE and not the SDK(software
development kit, unless you are interested in Java development). They
have Linux binaries, and they are real easy to install if you follow the
directions. Good luck.
>
>
>
>> On Wed, 26 Jun 2002 05:14:36 -0400, Tim wrote:
>>
>>> Currently I use Konqueror for my web browser in linux. What I'm
>>> wondering
>>> is how to get Java support to work. Ive already selected Enable Java
>>> globally and Enable JavaScript globally but it still wont load Java
>>> applets. I'm using http://wild.fiends.com/DCourt/Game.stm as test
>>> page for it because I know how it works/looks in IE5 but no matter
>>> what I do in Konqueror I cant get it to work.
>>>
>>> So basically what I want to know is if there is a way and if so how.
>>> And if not is there another web browser for linux that is more
>>> suited for Java? (I believe I tried netscape in the pass and it
>>> didn't do any
>>> better.)
>>>
>>>
>>> Thanks for any help with this and also thankyou to everybody thats
>>> already helped provide answers to my seemingly endless list of
>>> questions.


--
Mark
marcus@ivwnet.com

"Q: I'm having problems with my Windows software. Will you help me?"
A: Yes. Go to a DOS prompt and type "format c:". Any problems you are experiencing will cease within a few minutes."

- Eric S. Raymond

Report this post to a moderator

Old Post 06-27-02 05:25 AM
Reply w/Quote Edit/Delete Message IP: Logged
Robert G. Ragosta
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: Java how can I get it to work

On Wed, 26 Jun 2002 22:04:56 -0500, Mark wrote:

> On Thu, 27 Jun 2002 01:21:26 -0400, Tim wrote:
>
>> Mark wrote:
>>
>>> Do you have a jre installed? On my machine, I type this command:
>>> java -version, and the output is the version of java installed on my
>>> machine. Also, I can type this command: cd /usr/java. This leads to
>>> the directory where the jre is installed. Do you have any luck with
>>> these commands?

>>
>> tim@timscomp tim]$ java -version
>> Kaffe Virtual Machine
>> Copyright (c) 1996-2000
>> Transvirtual Technologies, Inc. All rights reserved Engine:
>> Just-in-time v3 Version: 1.0.6 Java Version: 1.1
>>
>><<snipped>
>>>>
>>>> So basically what I want to know is if there is a way and if so
>>>> how. And if not is there another web browser for linux that is
>>>> more suited for Java? (I believe I tried netscape in the pass and
>>>> it didn't do any
>>>> better.)
>>>>
>>>>
>>>> Thanks for any help with this and also thankyou to everybody thats
>>>> already helped provide answers to my seemingly endless list of
>>>> questions


Empathize with your Java issues. Since you're using Mandrake 8.2, I'll
offer the following post (reference below) by <Jim Sculley <niceguy@abraxis.com> posted
in alt.os.linux.mandrake on Fri, 21 Jun 2002....

There are known issues with Java/Konqueror- particularly note his
reference to factors with having Kaffe installed as well...

******************************
***
I. For Mozilla/Netscape:

A. Donwload the JRE 1.4 from http://java.sun.com/j2se/1.4/download.html

B. Install said JRE.

C. Create a link in the Mozilla plugins directory
(/usr/local/mozilla/plugins) pointing to the proper plugin, depending on
what version of Mozilla you have:

For Mozilla 1.0 or Netscape 6.1
ln -sf/usr/java/j2re1.4.0/plugin/i386/ns610/libjavaplugin_oji140.so

For prior Mozillas or Netscape 6.0
ln -sf/usr/java/j2re1.4.0/plugin/i386/ns600/libjavaplugin_oji140.so

For Netscape 4.x
ln -sf/usr/java/j2re1.4.0/plugin/i386/ns4/javaplugin140.so

II. For Konqueror

A. See above

B. See above

C. In the Konqueror settings, go to "Konqueror Browser....Java" and make
sure that Java is enabled, and that the box at the bottom for "Path to
java executable" points to the proper location, which should be

/usr/java/j2re1.4.0/bin/java

Alternatively, you can create a link to the java executable in a
directory that is on your PATH (such as /usr/local/bin):
ln -sf /usr/java/j2re1.4.0/bin/java

and then just enter 'java' (without quotes) in the text box. If you do
this you will probably want to make sure that the Kaffe RPMs are
uninstalled.
******************************
*


If you're using Mandrake, you really should reference a.o.l.m- it truly is
your "homeplace" for your distro. Hope this helps...
Regards
--
"Which is better: artificial intelligence or REAL stupidity...?"
Linux User #273716 / Linux Machine #156681
Pan 0.11.3 / Linux Mandrake 8.2 / Kernel 2.4.8-18mdk

Report this post to a moderator

Old Post 06-27-02 06:25 AM
Reply w/Quote Edit/Delete Message IP: Logged
Tim
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: Java how can I get it to work

I just wanted to say thank you to Mark and Roberrt between the 2 of you I
now have much better java support. I still cant see all the applets
correctly but atleast now it trys to load them. Again thanks for all of
your help.



Robert G. Ragosta wrote:

> On Wed, 26 Jun 2002 22:04:56 -0500, Mark wrote:
>
>> On Thu, 27 Jun 2002 01:21:26 -0400, Tim wrote:
>>
>>> Mark wrote:
>>>
>>>> Do you have a jre installed? On my machine, I type this command:
>>>> java -version, and the output is the version of java installed on my
>>>> machine. Also, I can type this command: cd /usr/java. This leads to
>>>> the directory where the jre is installed. Do you have any luck with
>>>> these commands?
>>>
>>> tim@timscomp tim]$ java -version
>>> Kaffe Virtual Machine
>>> Copyright (c) 1996-2000
>>> Transvirtual Technologies, Inc. All rights reserved Engine:
>>> Just-in-time v3 Version: 1.0.6 Java Version: 1.1
>>>
>>><<snipped>
>>>>>
>>>>> So basically what I want to know is if there is a way and if so
>>>>> how. And if not is there another web browser for linux that is
>>>>> more suited for Java? (I believe I tried netscape in the pass and
>>>>> it didn't do any
>>>>> better.)
>>>>>
>>>>>
>>>>> Thanks for any help with this and also thankyou to everybody thats
>>>>> already helped provide answers to my seemingly endless list of
>>>>> questions

>
> Empathize with your Java issues. Since you're using Mandrake 8.2, I'll
> offer the following post (reference below) by <Jim Sculley
> <niceguy@abraxis.com> posted in alt.os.linux.mandrake on Fri, 21 Jun
> 2002....
>
> There are known issues with Java/Konqueror- particularly note his
> reference to factors with having Kaffe installed as well...
>
> ******************************
***
> I. For Mozilla/Netscape:
>
> A. Donwload the JRE 1.4 from http://java.sun.com/j2se/1.4/download.html
>
> B. Install said JRE.
>
> C. Create a link in the Mozilla plugins directory
> (/usr/local/mozilla/plugins) pointing to the proper plugin, depending on
> what version of Mozilla you have:
>
> For Mozilla 1.0 or Netscape 6.1
> ln -sf/usr/java/j2re1.4.0/plugin/i386/ns610/libjavaplugin_oji140.so
>
> For prior Mozillas or Netscape 6.0
> ln -sf/usr/java/j2re1.4.0/plugin/i386/ns600/libjavaplugin_oji140.so
>
> For Netscape 4.x
> ln -sf/usr/java/j2re1.4.0/plugin/i386/ns4/javaplugin140.so
>
> II. For Konqueror
>
> A. See above
>
> B. See above
>
> C. In the Konqueror settings, go to "Konqueror Browser....Java" and make
> sure that Java is enabled, and that the box at the bottom for "Path to
> java executable" points to the proper location, which should be
>
> /usr/java/j2re1.4.0/bin/java
>
> Alternatively, you can create a link to the java executable in a
> directory that is on your PATH (such as /usr/local/bin):
> ln -sf /usr/java/j2re1.4.0/bin/java
>
> and then just enter 'java' (without quotes) in the text box. If you do
> this you will probably want to make sure that the Kaffe RPMs are
> uninstalled.
> ******************************
*
>
>
> If you're using Mandrake, you really should reference a.o.l.m- it truly is
> your "homeplace" for your distro. Hope this helps...
> Regards


Report this post to a moderator

Old Post 06-27-02 09:25 AM
Reply w/Quote Edit/Delete Message IP: Logged
All times are GMT.
Post new thread   Post reply

Featured site: MCSE, MCSD, CompTIA, CCNA training videos



Forum Jump:
Rate This Thread:
Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is OFF.
 

ExamNotes forum archive


Powered by: vBulletin 2.2.8
Copyright ©2000, Jelsoft Enterprises Limited.

  Free Braindumps | mcse braindumps