LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 11-17-2004, 11:25 PM   #1
nytemare1456
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
Java


I have just recently installed FC3 and am new to Linux. I cannot get java to work at all. Any pages that require the java plugin will not install the plugin. I have tried the manual install (I think I did it right) to no avail.

Any suggestions would be extremely helpful.
 
Old 11-18-2004, 12:25 AM   #2
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
Which broswer are you referring to?

Do you have a java runtime or developement environment installed? If so, you can just create a symbolic link from the java plugin installation directory to the plugins directory in your browser's installation folder.

http://java.sun.com/j2se/1.4.2/download.html On this page you can download either J2SE SDK (the development, for compiling java) or J2SE JRE (runtime environment). They will install to /usr/java/j2sdk<version>/ (for SDK). Once it is installed, you would type the following
Code:
ln -s /usr/java/j2sdk<version>/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /path/to/browser's/pluginfolder/
Note, that you do not copy the .so file to the plugin folder, as that will crash the browser (I am referring to Mozilla and Firefox). I do not know if there is just the plugin available, or if you need to download the whole thing. Though I would recommend that you download the JRE if you don't compile java, and link it as I have above, just make sure that you replace the <version> with the correct version (only one folder will be in /usr/java so just use that).

Let me know how it goes...

Last edited by student04; 11-18-2004 at 12:26 AM.
 
Old 11-18-2004, 12:33 AM   #3
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
If you have the Java SDK, then you can add the following lines to your .bash_profile file which will enable you to compile and run Java applications:

Code:
PATH=/usr/java/j2sdk<version>/bin:$PATH
JAVA_HOME=/usr/java/j2sdk<version>

export PATH
export JAVA_HOME
Now you should be able to compile java programs using "javac" and run them using "java"

I hope this helps
--Ian
 
Old 11-18-2004, 12:35 AM   #4
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
Wait a sec.. were you asking how to make the java plugins in the browser to work, or how to be able to compile & run java programs, or both?
 
Old 11-18-2004, 01:33 AM   #5
xaxol
Member
 
Registered: Aug 2003
Location: Antelope, CA
Distribution: Ubuntu 9.04
Posts: 90

Rep: Reputation: 15
If you are using JRE 1.5.0 the plugin is located in the ns7 directory.

Same steps apply as posted above.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
Java Programming: Java Runtime Environment not found when trying to compile murbz Linux - Software 2 03-26-2009 03:04 AM
Web start java not working (java works fine) powadha Debian 5 06-05-2004 12:57 PM
Updated Java... now java apps dont work zidane2010 Linux - Software 6 05-04-2004 08:02 PM
2 Questions: java calling system commands? PERL vs Java? randomx Programming 28 11-28-2003 08:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration