LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-30-2004, 02:37 PM   #1
johnnyLongside
LQ Newbie
 
Registered: Mar 2004
Posts: 19

Rep: Reputation: 0
Unhappy How do I run java on ppc?




Linux and my G3 mac don't seem to get along. I have no java plugin for either Konquerer or Mozilla. It took me awhile to find java for ppc(whic I finally found here: http://www.blackdown.org/java-linux/...tatus.html#ppc). I followed the installation instructions, which seemed to work fine, but my browsers still throw up the "no java executable found" error when I load a page. The files I installed are located in my /usr/local directory.
What am I doing wrong?
Thanks,
 
Old 04-30-2004, 07:51 PM   #2
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
You probably need to set your $PATH variable to reflect the locations of your java bin's. I am running Gentoo on an iBook and had the same deal. For example, (I am not near the iBook right now), on my desktop my path is:

scruff@genbox scruff $ echo $PATH
/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:
/usr/qt/3/bin:/usr/kde/3.2/bin

There are different locations your path might be set, but generally it goes like this: for a global setting /etc/profile, for user defined settings, ~/bashrc or ~/bashprofile. Take a look at these files and you should see something like "export PATH="/insert/path/locations/here"

Alter them to suit your java locations

Also, check your window manager (KDE, Fluxbox, etc) settings to be sure the MIME types are set correctly.

Last edited by Scruff; 04-30-2004 at 07:55 PM.
 
Old 04-30-2004, 11:04 PM   #3
johnnyLongside
LQ Newbie
 
Registered: Mar 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Well! I do appreciate the help. I'm not sure what a "MIME" is, but I checked out the configuration settings on my KDE and Konquerer. (I use Mandrake 9.1 for ppc, so it's highly GUI oriented.) I found a box to designate a path for my JAVA client, which I set to the 'java' file in JDK1.2.2/bin.
However, when I tested it, it simply said the JAVA appelet was loading, but never actually loaded. Beneath the Path box I referred to above, there's another box titled "Additional Java arguments". I noticed two path names to Java in your example. Am I supposed to use this box for another path?
I apologize, but I installed Linux very recently and the ins and outs are still a little mysterious to me. I appreciate the help.

 
Old 05-01-2004, 01:01 AM   #4
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
No need to apologize! Thats why this site exists. I found what looks to be a good tutorial on getting konqueror and mozilla to work with java that might help you get through it. There isn't much to it, but a few things you need to check over.

Have a look at it here and just come on back if you need more help.
 
  


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
can't run my java programs crazyzombie Linux - Newbie 1 09-23-2005 01:42 PM
Getting Java Runtime To Run tsuehpsyde Fedora 2 05-03-2004 12:54 AM
run java and tomcat varunbihani Linux - Software 2 09-17-2003 04:05 AM
I totally can not get Java to run (Help!!) TippyToes Linux - General 21 07-13-2003 04:19 PM
Java applets run fine in Konqueror, but won't run in MS IE. OAnimal Linux - Software 7 12-04-2002 06:32 AM

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

All times are GMT -5. The time now is 06:01 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