Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Apple PPC Users
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Apple PPC Users
The place to discuss your Ubuntu Macintosh/Apple/PPC questions (including the Ibook, PowerBook).

 
Thread Tools Display Modes
Old February 12th, 2007   #1
RedRedKrovy
First Cup of Ubuntu
 
Join Date: Dec 2006
Location: Mount Washingto
Beans: 9
Ubuntu 6.10 Edgy
IBM Java 6, PPC, and Edgy

I have Edgy installed on my PowerBook. I'm trying to get IBM Java 6 installed but every time I run make-jpkg I get "No matching plugin was found". Does anyone have any ideals?
RedRedKrovy is offline   Reply With Quote
Old February 12th, 2007   #2
seebol
First Cup of Ubuntu
 
Join Date: Feb 2007
Beans: 9
Re: IBM Java 6, PPC, and Edgy

I believe Java is one of the big things linuxonpowerpc lacks. Other things that don't work well are Flash (I found a plugin that let me see the ads, but it wouldn't play any music or video) and some videos (realmedia, some .mkv and .avi files...)

If I'm wrong, please correct me.
seebol is offline   Reply With Quote
Old February 12th, 2007   #3
maxamillion
Quad Shot of Ubuntu
 
maxamillion's Avatar
 
Join Date: May 2006
Beans: 475
The Feisty Fawn Testing
Re: IBM Java 6, PPC, and Edgy

Quote:
Originally Posted by seebol View Post
I believe Java is one of the big things linuxonpowerpc lacks. Other things that don't work well are Flash (I found a plugin that let me see the ads, but it wouldn't play any music or video) and some videos (realmedia, some .mkv and .avi files...)

If I'm wrong, please correct me.
You're unfortunately correct, pretty much linux on ppc has gcj/gij and jike/kaffe for java and gnash for flash....

If you want ibm java ... i'm pretty sure that is just jikes, i could be wrong though.
__________________
>>> import this
/me
maxamillion is offline   Reply With Quote
Old February 12th, 2007   #4
phossal
Fresh Brewed Ubuntu
 
phossal's Avatar
 
Join Date: Aug 2006
Beans: 1,225
Send a message via AIM to phossal
Re: IBM Java 6, PPC, and Edgy

I don't get it. Are you running Ubuntu? Can't you simply install the JDK directly from SUN?
__________________
Install Java's JDK 6u1
phossal is offline   Reply With Quote
Old February 13th, 2007   #5
RedRedKrovy
First Cup of Ubuntu
 
Join Date: Dec 2006
Location: Mount Washingto
Beans: 9
Ubuntu 6.10 Edgy
Re: IBM Java 6, PPC, and Edgy

Sun does not make Java for the PPC arch, only for the x86. IBM however does make Java for the PPC arch. Sun has a Debian package for theirs how ever IBM does not. I'm not very good at compiling from source so I try to stick with the Debian packages. So if some one could tell me how to get the make-jpkg to work or walk me through compiling and installing it from the source.

I already have Java 5 from IBM working right now but I just downloaded a Java program that requires 6, that's why I'm trying to update.
RedRedKrovy is offline   Reply With Quote
Old February 13th, 2007   #6
phossal
Fresh Brewed Ubuntu
 
phossal's Avatar
 
Join Date: Aug 2006
Beans: 1,225
Send a message via AIM to phossal
Re: IBM Java 6, PPC, and Edgy

What happens when you try to install the x86 JDK on your machine?
__________________
Install Java's JDK 6u1
phossal is offline   Reply With Quote
Old February 13th, 2007   #7
zakusage
5 Cups of Ubuntu
 
Join Date: Jan 2006
Beans: 15
Re: IBM Java 6, PPC, and Edgy

Add the following line to your /etc/apt/sources.list:

Code:
deb http://medibuntu.sos-sts.com/repo/ edgy free non-free
Medibuntu has a deb package for the IBM Java, among other things.

Edit: Er... if you're looking for Java6 nevermind. Still, this repository may be useful to other people simply looking to install Java.

Last edited by zakusage; February 13th, 2007 at 04:54 PM..
zakusage is offline   Reply With Quote
Old February 13th, 2007   #8
3rdalbum
Not Andy Hertzfield
 
Join Date: Dec 2005
Location: Western Australia
Beans: 6,178
Ubuntu 9.10 Karmic Koala
Send a message via MSN to 3rdalbum Send a message via Yahoo to 3rdalbum Send a message via Skype™ to 3rdalbum
Re: IBM Java 6, PPC, and Edgy

Quote:
Originally Posted by phossal View Post
What happens when you try to install the x86 JDK on your machine?
Immediate segfault. You can't run x86 binaries on PowerPC, everybody knows that.
__________________
Where did my installed program go? | Whatever you do, DON'T remove Network Manager, you can't get it back! | If you are installing Ubuntu as dual-boot, make sure you drag the slider to the left to give Ubuntu some space!
3rdalbum is offline   Reply With Quote
Old February 14th, 2007   #9
phossal
Fresh Brewed Ubuntu
 
phossal's Avatar
 
Join Date: Aug 2006
Beans: 1,225
Send a message via AIM to phossal
Re: IBM Java 6, PPC, and Edgy

Quote:
Originally Posted by 3rdalbum View Post
Immediate segfault. You can't run x86 binaries on PowerPC, everybody knows that.
Apparently not. I didn't assume it would work though. I was just curious. I know nothing of the ppc arch. I didn't anticipate how poorly curiosity would go over though. Perhaps everybody else knows that too.
__________________
Install Java's JDK 6u1

Last edited by phossal; February 18th, 2007 at 06:55 PM..
phossal is offline   Reply With Quote
Old February 18th, 2007   #10
RedRedKrovy
First Cup of Ubuntu
 
Join Date: Dec 2006
Location: Mount Washingto
Beans: 9
Ubuntu 6.10 Edgy
Re: IBM Java 6, PPC, and Edgy

Got on IBM's website and found a quick start guide. IBM Java 6 does not have a plugin yet but this allows you to use it in the terminal.

You must install the SDK manually. These steps lead you through the installation process:
1. Extract the downloaded SDK to your system. The recommended location varies by platform:
v For Linux on Intel x86: /opt/ibm/java2-i386-60/
v For Linux on AMD 64-bit: /opt/ibm/java2-x86_64-60/
v For Linux on PowerPC 32-bit: /opt/ibm/java2-ppc-60/
v For Linux on PowerPC 64-bit: /opt/ibm/java2-ppc64-60/
To extract the SDK, use the following command at a shell prompt:
tar -zxf ibm-java-sdk-60-linux-<arch>-<date>.tgz
Where <arch> is your target architecture and <date> is the build date of the package.
2. To use the SDK as your default Java SDK, configure your PATH environment variable:
export PATH=<SDK>/bin:<SDK>/jre/bin:$PATH
Where <SDK> is the location of the extracted SDK.
3. Verify your configuration by checking the Java version on your system:
java -version
You should see output similar to the following. Exact dates and platform information will vary.
java version "1.6.0-internal"
Java(TM) SE Runtime Environment (build 1.6.0-internal-b99)
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc64-64 j9vmap6424-20061020 (JIT enabled)
J9VM - 20061020_08890_BHdSMr
JIT - 20061019_1800_dev
GC - 20061018_AA)


The only thing extra I did was put the export command (step 2) in my ~/.bashrc file at the end so I wouldn't need to run the command every time I opened up a terminal.
RedRedKrovy is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -4. The time now is 09:57 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry