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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
10-30-2006, 03:01 PM
|
#1
|
LQ Newbie
Registered: Sep 2005
Location: Pennsylvania
Distribution: Knoppix (Live CD), Xubuntu (Live CD & PPC)
Posts: 26
Rep:
|
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
|
|
|
10-30-2006, 03:26 PM
|
#2
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
|
|
|
|
10-30-2006, 04:00 PM
|
#3
|
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897
Rep:
|
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.
|
|
|
10-30-2006, 04:07 PM
|
#4
|
LQ Newbie
Registered: Sep 2005
Location: Pennsylvania
Distribution: Knoppix (Live CD), Xubuntu (Live CD & PPC)
Posts: 26
Original Poster
Rep:
|
:/ 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
|
|
|
10-30-2006, 04:19 PM
|
#5
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
|
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.
|
|
|
All times are GMT -5. The time now is 06:28 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|