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.
I tried install j2sdk1.4 ... to fedora, i move rpm.bin file to /usr/java and then i did install (./j2sdk*.bin), i tried rpm -iv j2sdk-1.4.2_04* . it says that: package j2sdk-1.4.2_04-fcs is already installed
i can't find it, i tried locate j2sdk-1.4.2_04 and none of files was found.
and install didin't do me some folder in /usr/java
[root@ java]# ls -l
total 67524
-rw-r--r-- 1 root root 34694346 Feb 24 18:09 j2sdk-1_4_2_04-linux-i586.rpm
-rwx--x--x 1 root root 34363042 Apr 26 00:36 j2sdk-1_4_2_04-linux-i586-rpm.bin
[root@dna250-151 java]# ./j2sdk*.bin
Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
0
0
Extracting...
UnZipSFX 5.40 of 28 November 1998, by Info-ZIP (Zip-Bugs@lists.wku.edu).
replace j2sdk-1_4_2_04-linux-i586.rpm? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
inflating: j2sdk-1_4_2_04-linux-i586.rpm
Done.
[root@ java]# ls -l
total 67524
-rw-r--r-- 1 root root 34694346 Feb 24 18:09 j2sdk-1_4_2_04-linux-i586.rpm
-rwx--x--x 1 root root 34363042 Apr 26 00:36 j2sdk-1_4_2_04-linux-i586-rpm.bin
[root@ java]# rpm -iv j2sdk*.rpm
Preparing packages for installation...
package j2sdk-1.4.2_04-fcs is already installed
[root@ java]#
i tried to install it (again) in two different folder, but it says that its already installed..
Originally posted by Larke but.. install didin't do me anything folder like /usr/java/J2SDK.... ?
It usually installs where you ran the executable. If you ran
./ <j2sdk-yadda-yadda-yadda>.bin
at /home/user/, then j2sdk will be at /home/user/j2sdk_version. I (and many others) usually move j2sdk to /usr/local and run it from there, so it will be installed at /usr/local/j2sdk<version>. This helps to keep the system more organized. Check where you run the installation first, the directory will be there... You could always use "whereis" or "slocate" to find files too
j2sdk1.4.2_04 software and othe near versions uses the default directory /usr/java so better move the file u want to install in the /usr directory. we havt to set the CLASSPATH as follows==>
first edit the file .bashrc which is present in u'r home directory.it is hidden so to check type in the terminal ls -a command.u will see the file.
now edit the file using any editor and add the following lines as follows
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.