Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
well now for your amusement or possible confusion just go to www.java.sun.com then download the rpm of java for linux. su to root unpack with j2reX.X.X.rpm.bin where x.x.x is the version then rpm -i j2rex.x.x.rpm. then add the path to java in your profile. find the java program. most likely /usr/java/j2rex.x.x/bin. edit your ~/.bash_profile locate the PATH variable. then add to the end of that file save and re login.
Originally posted by elamigo2004 I don't get how do install Java VM. Someone help me. Now.
Is that a question? Or a command. Lighten up, geez!
But seriously, if you want to know how to install java, hit the search button at the top of the page. Put in the search term "java" and put my username in the box on the right where it says search by user or whatever. I have answered this question before a few times and others have helped in this endeavor as well, in the same threads. I think there might even be a howto on this site (and the plugin is described on the "plugin help" page at www.mozilla.org)
Last edited by vectordrake; 04-06-2004 at 11:07 PM.
I wish that guy had asked his question without being a smartass. maybe then other newbs would be able to benefit from the answer without having to endure the same smartass answer...no offense....
and of course...when people GET their answer, do they come back and post their findings to benefit the community? NO. goddammit. selfish bastards.
anyway...
Im with you until this part:
Quote:
edit your ~/.bash_profile locate the PATH variable. then add to the end of that file save and re login.
sorry, I dont get that part, could you please explain?
I followed the directions on the java site to the letter, but when I go to test my jre I get the following error:
Quote:
This page contains information of a type (application/x-java-vm) that can only be viewed with the appropriate plug-in
for some reason I am thinking this means that my java vm is not installed properly?
and vectordrake...i did the search but this is the first page that comes up LOL.....just fyi
Here's one that refers to the plugin problem, but its a bit vague.
Java install instructions:
get java. If you have a rpm-based distro, get the .rpm
install it.
usually, it installs to /usr/java/jxxx (jxxx being the java version)
to get the vm working, you can add it to your .bashrc.
Add this to your .bashrc file:
exit the cnsole and open another. which java should return the path to yur java.
The plugin for your mozilla browser:
Make a soft link to the javaplugin in the java directory.
as root:
cd /usr/lib/mozilla-<whatever>/plugins
ln -s /usr/java/j<whatever>/plugins/i386/ns<whatever>/libjavaplugin_oji.so .
#be sure to include the end "." That means "here"
#be sure that the version of the plugin matches your mozilla (as in the version of gcc - ie 2.9 has to go with the older pre-1.4 browsers and gcc3.2 goes with newer ones)
If you use konqueror, you don't need to use a java plugin. It does the same thing as Opera and uses the jvm. Set the path to the jvm in the java/javascript section of your konqueror settings.
You should be good to go. If it works, tell the next person who asks. BTW, I got my info from this site and from the java installation instructions. The only hard one is the plugin for mozilla browsers. That used to be explained, but now seems to be only available on the mozilla plugin FAQ site.
Your turn now. I pass the torch to you (and everyone else who helped)
If you haven't seen "Pay it Forward", rent it. Heh heh. Glad to help.
BTW, I don't have an affero account, but if you want to donate on behalf of someone else because I helped, please do so (I got a lot of what I now know from the good people here)
follow the instructions....you'll be done for sure.... (do it with mozilla, you'll get the VM plus the plugin installed)
and finally, don't be so rude... you aren't paying us for your help....even if you was I don't think you would be paying me enough to hear that in the way you said it
You weren't. I bet he was referring to the command given to we, the volunteers who help people out every day because we want to. Notice I helped anyways....
Are you sure you don't have a .bashrc in your /home/<whatever> directory?
If no, then, by all means, you can certainly make one. Its a config file. Do with it as you please. Here's mine, with the java path to the 1.5 beta! Heh heh.
Code:
# .bashrc
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
PATH=$PATH:/usr/java/j2re1.5.0/bin
JAVA_HOME=/usr/java/j2re1.5.0/bin
export PATH
export JAVA_HOME
Mine was there when I loaded up, but the java-specific lines were added by me. Neat stuff can go in this file. You can make aliases for certain frequently used keystrokes, for example. A friend aliased ls -al with ls l for convenience, for ex.
Ok, I downloaded the first download link thing and installed it, and rebooted Firebird. So, I went to a page that had some javascript on it, and it gave me that same annoying popup message saying "You need this plugin...". So, I went into the Options in Firebird, and to my suprise, it said that Java was enabled. What do I do now!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.