Solved

Fedora 10 and JRE

Posted on 2004-08-17
7
587 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now