LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-30-2006, 04:01 PM   #1
Kavon89
LQ Newbie
 
Registered: Sep 2005
Location: Pennsylvania
Distribution: Knoppix (Live CD), Xubuntu (Live CD & PPC)
Posts: 26

Rep: Reputation: 15
Java on a PPC Architecture


Hi, I have a G3 laptop which barely runs OS X 10.4. I use the laptop for coding (Java), music, a few games, movies (dvd etc). I want to install Ubuntu w/ Gnome (which is said to be ligher).

Is it a good idea for me to over write OS X for Linux so I have more speed when compiling programs & running Java apps? Will I be able to install the JDK (Java Development Kit) and a program which is written for Linux, not exactly x86 or PPC Linux, but just Linux?

I guess my real question sorta is: When a program is avalible for a "Linux" download, does that mean it can run on a Linux PPC & x86?

Here are the specs of my iBook:

500Mhz G3
256Mb RAM
ATI RAGE II, 8Mb Vid RAM
20Gb HD
 
Old 10-30-2006, 04:26 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,784

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
For information about a Java on Ubuntu, and especially PPC, see https://help.ubuntu.com/community/Java
and http://www-128.ibm.com/developerwork...pow-apple.html
 
Old 10-30-2006, 05:00 PM   #3
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
In short, 99% of the time, a "Linux" program will run as is on any "Linux-supported" architecture, that is x86, PPC, 68k, alpha... once compiled. The source is the same, but the binary obviously isn't.
As for Java, I'm not sure that Sun has released a PPC version of their Linux JVM.

Yves.
 
Old 10-30-2006, 05:07 PM   #4
Kavon89
LQ Newbie
 
Registered: Sep 2005
Location: Pennsylvania
Distribution: Knoppix (Live CD), Xubuntu (Live CD & PPC)
Posts: 26

Original Poster
Rep: Reputation: 15
:/ thank you both for the replies, I guess I'll stick with OS X. Hopefully compiles won't be like I fear them to be. 100 lines takes a little more than 10 seconds (sorta depends on the complexity, so far the code its doing is simple), which means over 500 lines could take about a minute :O
 
Old 10-30-2006, 05:19 PM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,784

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by theYinYeti
As for Java, I'm not sure that Sun has released a PPC version of their Linux JVM.
I'm sure Sun hasn't, but IBM JVM for Linux Power Architecture happen to work on PPC based Macs, as the links I posted show.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
which architecture thelastspartan Debian 5 03-12-2005 08:40 PM
What architecture would I use? johnnyICON Linux - Newbie 1 12-08-2004 12:36 PM
Architecture skguha Linux - Newbie 2 05-03-2004 01:37 AM
How do I run java on ppc? johnnyLongside Linux - Software 3 05-01-2004 02:01 AM
Architecture TX_metalhead Linux - General 5 02-04-2002 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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