FedoraThis forum is for the discussion of the Fedora Project.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am having problems installing sun's JDK on my Fedora 7 box. I have installed the jdk 64bit .bin file using
chmod a+x jdk*
I had already moved it to my home directory under a directory called java. Everything extracted fine (seemlingly, at least) and I downloaded netbeans. When I try to install netbeans, it tells me that it cannot find a JDK on my system....not even the one that came with Fedora. I have tried the is:javahome option like this
I am unsure as to why it is so difficult to install Sun's java on Fedora but I have been studying Mobile Games Development at university for the last three years, using netbeans, JDK and the mobility pack that is provided with netbeans to do my work. As I am comfortable using all this, I would much prefer to stick with it if possible. Any help and suggestions are so very appreciated.
To tell You the truth, I've tried installing some Java based apps myself and failed 'cause the same reason.
Namely, I've tried installing latest Limewire on recently installed FC7 and failed due to:
error: Failed dependencies:
j2re >= 1.4.1 is needed by LimeWire-free-4.12.14-0.i386
but, take a look at this:
# /usr/sbin/alternatives --display java
java - status is manual.
link currently points to /usr/java/jdk1.6.0_01/bin/java
/usr/lib/jvm/jre-1.5.0-gcj/bin/java - priority 1500
slave keytool: /usr/lib/jvm/jre-1.5.0-gcj/bin/keytool
slave rmiregistry: /usr/lib/jvm/jre-1.5.0-gcj/bin/rmiregistry
slave jre_exports: /usr/lib/jvm-exports/jre-1.5.0-gcj
slave jre: /usr/lib/jvm/jre-1.5.0-gcj
/usr/java/jdk1.6.0_01/bin/java - priority 2
slave keytool: (null)
slave rmiregistry: (null)
slave jre_exports: (null)
slave jre: (null)
Current `best' version is /usr/lib/jvm/jre-1.5.0-gcj/bin/java.
In other words, I have installed two Java packages on my system, but they don't seem to be detected during the installation (or at least, not the one that matters).
# /usr/sbin/alternatives --config java
Enter to keep the current selection[+], or type selection number:
$ which java
In other words, Sun Java is supposed to be default. I've intended to install NetBeans on my system, but I'll have to wait for it to download. Let You know how did it go.
Also, I've tried installing Java plugin for Firefox, just as I did before on FC4, 5, and 6, and browser doesn't report anymore "plugin missing", but the plugin doesn't work. I think it could be SELinux issue.
I'm about to look into this in the next few days,... since I don't want to turn off SELinux just because of this. It can be managed without turning SELinux off.
that's JDK 1.5 update 12 with NetBeans 5.5.1... Both are installed to my ~home directory, and they both seem to work. For the former, I've tested its Firefox plugin, and it works. As for the latter, I've started it without problem.
Try this page, for configuring Sun Java on your system, and then try installing NetBeans: