LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-12-2004, 10:33 AM   #16
msalt
LQ Newbie
 
Registered: Feb 2004
Location: Norwich
Distribution: Fedora Core 1
Posts: 4

Rep: Reputation: 0

OK. I've done these things. Mozilla 1.6 has been downloaded into my /home/username directory. I will log in as /root.
 
Old 02-15-2004, 11:44 AM   #17
linuxfordumee
LQ Newbie
 
Registered: Feb 2004
Location: NYC
Distribution: Fedora Core 1
Posts: 3

Rep: Reputation: 0
Lightbulb JDK 1.4.1 on Fedora, Help!!

Hey all, I keep finding this forum whenever I Google something with my problem. Something I did from another thread worked. I installed Fedora Core (yarrow) about 3 days ago. I downloaded j2sdk1.41 for linux (a self-extracting rpm). it says the package is installed (when I double click it again) but where is it? when i go to the bin folder and in the terminal i try to do the javac command, it says "bad command .... blah " This is my first time with linux, and I'm also a student with a java project due this Thursday, so if anyone can help me (in as plain English as possible), I'd appreciate it!

oh, also i can open the control panel which is found in the bin folder if i double click it. but still, when i open a page with a java applet i get that puzzle piece that says i'm missing the plug in.

please help!
 
Old 02-15-2004, 12:52 PM   #18
stuzuk
LQ Newbie
 
Registered: Feb 2004
Distribution: Fedora
Posts: 17

Rep: Reputation: 0
log in as root and your super user password.

download and install java /

Open a terminal by pressing the red hat / then terminal.

Make sure JRE is installed ok
type

rpm -qa | grep -i jre

you will get a result like "java2-jre-1.4.2" the result of this get replaced later instead of <JRE>

type

rpm -ql <JRE> | more
this will give you the directory location

change the directory to your mozilla / netscape /plugins location using the cd command
mine is loacated @ /usr/lib/mozilla/plugins

type to create a link

ln -s /usr/java/<JRE>plugin/i386/ns610-gcc32/libjavaplugin_oji.so .
this should make a link to the plugin in the browser plugins folder.

I did this ealier worked fine.

Resources used incase I made a typo.

http://java.sun.com/j2se/1.4.2/manua...all_linux.html
http://www.linuxquestions.org/questi...hreadid=145235
http://java.sun.com/j2se/1.4.2/insta...ux.html#plugin

Enjoy

Last edited by stuzuk; 02-15-2004 at 01:01 PM.
 
Old 02-15-2004, 02:30 PM   #19
linuxfordumee
LQ Newbie
 
Registered: Feb 2004
Location: NYC
Distribution: Fedora Core 1
Posts: 3

Rep: Reputation: 0
well, my jre folder is inside the j2sdk1.4.1_01 folder, and inside it is the plugin folder. I did ln -s plus the whole path to the plugin, and the terminal said "file exists". The link in the main folder turned out to be broken. i'm wondering, do i have to download jre separately from jdk? when i downloaded it on windows it all came together, jre and jdk. now i'm just plain out confused!
 
Old 02-16-2004, 10:16 AM   #20
stuzuk
LQ Newbie
 
Registered: Feb 2004
Distribution: Fedora
Posts: 17

Rep: Reputation: 0
I dont know about that (JDK) I just downloaded the JRE only, this may be why but the instructions I gave you was for the JRE installation I am affraid...

Maybe try getting the JRE working first then install the JDK

I am sure youll get there in the end took me a bit of bashing my head off the wall to get it to work but it now works fine.

Also the period on the end of the ln -s after ".so . " is needed dont know if you missed it off.
If you did just delete the link from your mozilla/plugins folder and then recreate not forgetting the period at the end hope this sorts it for you.

"type to create a link

ln -s /usr/java/<JRE>plugin/i386/ns610-gcc32/libjavaplugin_oji.so .

this should make a link to the plugin in the browser plugins folder."

Last edited by stuzuk; 02-16-2004 at 10:20 AM.
 
Old 02-16-2004, 03:48 PM   #21
Beorn77
LQ Newbie
 
Registered: Feb 2004
Location: Aachen, Germany
Distribution: Debian
Posts: 2

Rep: Reputation: 0
Hi,

I've got this problem in a similar manner.

I'm running a Debian system with KDE 3.1

I tried both ways, first to install the self extracting binary and second to install the converted rpm package (converted to deb via alien).

Both installations succeeded and I then had a full java JRE installation under /usr/java/.

Furthermore I was able to symlink the plugin for Mozilla and well, Mozilla:About also seems to recognize the plugin.

The problem is: Any webpage with Java lets Mozilla end without any comment.
I then installed Opera to see if this would work. As can be read in the manual for opera7 no plugin installation is needed.
Opera should just use the installed Java Runtime Environment.
But Opera::about says "No JRE installation found".

That's the key problem: My system does not seem to know that there _is_ any JRE version installed. There is no java set in the PATH nor is there any JRE variable or something similar registered.
I am not able to run any jar file with java. The error message "could not load VM" (or similar) appears.

I can't believe that this is it!?
I followed the installation instructions listed on java.com in detail!
Well, these instructions are at least very very simple. But for me it seems that some steps are just missing...

And as I see through the google search results, I am not the only one with this or a similar problem.

Perhaps someone can help with these details given?
I am some kind of desperate not getting a running java installation.

regards, Beorn
 
Old 02-16-2004, 04:17 PM   #22
stuzuk
LQ Newbie
 
Registered: Feb 2004
Distribution: Fedora
Posts: 17

Rep: Reputation: 0
Is this just you distro that has this problem? if so try another distro.

I have had a few problem with Fedora mainly with missing libs / I have been able to get them once I knew what they was with ease.
 
Old 02-18-2004, 06:01 AM   #23
Beorn77
LQ Newbie
 
Registered: Feb 2004
Location: Aachen, Germany
Distribution: Debian
Posts: 2

Rep: Reputation: 0
Well I do not think that my Debian system is the troublemaker...

yesterday I tried the following. I added additional "testing" sources to the debian packet manager and well, there appeared a JRE 2.
So I installed this specific deb file and now it works for opera.
Java is set in the Path, everything seems to work fine.

The only problem left up to now is that Mozilla does not recognize the plugin which comes with my JRE. The only difference I found out is that the plugin in the SUN JRE is named libjava... and in my debian installation only java...
But whether I rename the symlink or not... Mozilla does not recognize it.

But well, for opera Java is working so far, this is all what I need...

I will see if I can manage mozilla to finally recognize my JRE in the next days.

Thanks for trying to help me...
 
Old 05-08-2004, 02:18 AM   #24
paisano2k
LQ Newbie
 
Registered: Apr 2004
Location: Dallas, TX
Distribution: Fedora Core (Yaffrow)
Posts: 9

Rep: Reputation: 0
Help? Please?

Can someone take a look at this thread that I created on not being able to install the j2re rpm and help me out?

http://www.linuxquestions.org/questi...872#post919872

I'm really frustrated and can't seem to get this freakin thing working or installed.

Any help would be greatly appreciated!

Pai

=)
 
Old 05-09-2004, 11:26 AM   #25
r00tnuke
Member
 
Registered: Aug 2003
Location: /earth/usa/texas/houston
Distribution: Fedora C2
Posts: 64

Rep: Reputation: 15
just go to http://dag.wieers.com/packages/j2re/ and download the Mozilla and Java rpms for your distro and be done with it.

rootnuke
 
Old 05-09-2004, 11:03 PM   #26
paisano2k
LQ Newbie
 
Registered: Apr 2004
Location: Dallas, TX
Distribution: Fedora Core (Yaffrow)
Posts: 9

Rep: Reputation: 0
WTF?

Ok, I tried both of the following and I still get NO results! It seems to hang......
Am I doing something wrong that I can't seem to install a simple rpm?


root@KirbyOne tmp]# rpm -Uvv j2re-1.4.2-5.rhfc1.dag.i586.rpm
D: ============== j2re-1.4.2-5.rhfc1.dag.i586.rpm
D: Expected size: 19711638 = lead(96)+sigs(344)+pad(0)+data(19711198)
D: Actual size: 19711638
D: opening db environment /var/lib/rpm/Packages joinenv

.................................................................................................... .................................................

root@KirbyOne tmp]# rpm -Uvv --force j2re-1.4.2-5.rhfc1.dag.i586.rpm
D: ============== j2re-1.4.2-5.rhfc1.dag.i586.rpm
D: Expected size: 19711638 = lead(96)+sigs(344)+pad(0)+data(19711198)
D: Actual size: 19711638
D: opening db environment /var/lib/rpm/Packages joinenv
.................................................................................................... .................................................

Is it normal to hang here? How long "theoretically" should this take?
Am I just an idiot? Nevermind, don't answer that last question! LoL
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run java in Fedora core 3 gjo Fedora 2 10-02-2005 03:18 AM
Java & Fedora Core 4 Rick069 Linux - Software 6 09-22-2005 03:49 AM
no java while using firefox on fedora core 3 linuxmandrake Linux - Software 1 06-19-2005 12:40 AM
Getting Java-VM to work on Fedora Core 2 rpierce34 Fedora 13 03-31-2005 10:33 PM
Java SDK and Fedora Core 3 caps_phisto Fedora 5 01-12-2005 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration