Solved

Fedora 10 and JRE

Posted on 2004-08-17
7
592 Views
Last Modified: 2013-12-06
Hi,


I wanna know how can I install a JRE in Fedora 10...

Here is what I do...I download "jre 1.3.1-11" from SUN...and put this JRE under /root directory...and rpm the JRE.  Then, I link the like this "ln -s /root/j*.3.*/plugin/i386/ns600/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin.so"
And put a few lines into /etc/profile
if ! echo $PATH | /bin/grep -q "/usr/java/j*.3.*/bin"; then
  PATH="$PATH:/usr/java/j*.3.*/bin"
fi

and save /etc/profile...then execute it.

However, I tried to open a web site with some java plugin stuff, but the plugin part didn't show at all...so what should I do?
How exactly I know my JRE is installed and run???  Help please~~


Xenia
0
Comment
Question by:xenia27
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 8

Assisted Solution

by:da99rmd
da99rmd earned 100 total points
ID: 11818966
Hi xenia27,
write
which java
to se what the path is to your version of java.
Dont think is a good idea to have the jre in /root/
try moving it to /usr/local/
and remake the path and link.

/Rob
0
 
LVL 20

Assisted Solution

by:Gns
Gns earned 100 total points
ID: 11819426
And don't place wildcards in the path.

If you look at the plugins page (Help->plugins), do you see the java plugin there?

-- Glenn
0
 
LVL 40

Accepted Solution

by:
jlevie earned 300 total points
ID: 11822550
First of all I think you need a later version of the JRE (1.4.x). I don't remember 1.3.1 having a libjavaplugin built with Gcc 3.2, which is needed for Mozilla on Fedora. With an updated JRE installed you'll need t create a symlink like:

ln -s /path-to/j2re-1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin.so
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:xenia27
ID: 11827028
that's a bad news...@@...I can only use JRE 1.3.1 for the java program I compiled....OK...is there any way I can compile my java program and make it suitable for different version of JRE????  Help~~~~
0
 
LVL 40

Expert Comment

by:jlevie
ID: 11827502
It shouldn't matter as long as the JRE is a later version than 1.3.1. Have you tried to run the progam under 1.4.2? And if it failed what was the error.
0
 
LVL 20

Expert Comment

by:Gns
ID: 11828176
CC Jim.
You can actually have multiple java environment installed (but perhaps just one "active" in the browser), if the java program in question isn't "browserbased" it's just a question of the correct PATH etc....

-- Glenn
0
 

Author Comment

by:xenia27
ID: 11837621
OK...I think I got the problem sovled...^^...ver 1.4 is what I need...Thanks~
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question