Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How do I install Kaffe on Linux MintPPC?

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
kryptenasi
Posts: 5
Joined: 2016-10-28 21:13

How do I install Kaffe on Linux MintPPC?

#1 Post by kryptenasi »

I want to try and play Minecraft on an eMac, and I have it set up to dual-boot OS X Leopard and Linux MintPPC (based on Debian Wheezy). However, OS X 10.5 only supports up to Java 5, and the sound gets distorted into white noise, and on Linux, the launcher gives these messages:

Code: Select all

java.io.FileNotFoundException: /root/.minecraft/lastlogin (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:146)
	at net.minecraft.LoginForm.readUsername(LoginForm.java:87)
	at net.minecraft.LoginForm.<init>(LoginForm.java:68)
	at net.minecraft.LauncherFrame.<init>(LauncherFrame.java:25)
	at net.minecraft.LauncherFrame.main(LauncherFrame.java:99)
Path: /root/.minecraft/bin/
http://s3.amazonaws.com/MinecraftDownload/lwjgl.jar
http://s3.amazonaws.com/MinecraftDownload/jinput.jar
http://s3.amazonaws.com/MinecraftDownload/lwjgl_util.jar
http://s3.amazonaws.com/MinecraftDownload/minecraft.jar
http://s3.amazonaws.com/MinecraftDownload/linux_natives.jar.lzma
URL: file:/root/.minecraft/bin/lwjgl.jar
URL: file:/root/.minecraft/bin/jinput.jar
URL: file:/root/.minecraft/bin/lwjgl_util.jar
URL: file:/root/.minecraft/bin/minecraft.jar
URL: file:/root/.minecraft/bin/linux_natives.jar
OpenJDK Zero VM warning: You have loaded library /root/.minecraft/bin/natives/liblwjgl.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Exception in thread "Thread-1" java.lang.UnsatisfiedLinkError: /root/.minecraft/bin/natives/liblwjgl.so: /root/.minecraft/bin/natives/liblwjgl.so: ELF file data encoding not big-endian (Possible cause: endianness mismatch)
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851)
	at java.lang.Runtime.load0(Runtime.java:795)
	at java.lang.System.load(System.java:1062)
	at org.lwjgl.Sys$1.run(Sys.java:69)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
	at org.lwjgl.Sys.loadLibrary(Sys.java:81)
	at org.lwjgl.Sys.<clinit>(Sys.java:98)
	at net.minecraft.client.Minecraft.G(SourceFile:1985)
	at awe.<init>(SourceFile:20)
	at net.minecraft.client.Minecraft.<init>(SourceFile:76)
	at avv.<init>(SourceFile:38)
	at net.minecraft.client.MinecraftApplet.init(SourceFile:38)
	at net.minecraft.Launcher.replace(Launcher.java:153)
	at net.minecraft.Launcher$1.run(Launcher.java:94)
I've heard of two things that may help: the first is a JRE/JDK created by IBM for PowerPC computers, and the second is Kaffe, a JRE that's not based on Oracle code at all and is therefore technically "not Java", but it can execute Java programs. Each of these has a problem in the installation process for me, though. For the IBM runtime, executing the "ibm-java-ppc-jre-8.0-3.20.bin" file gives this:

Code: Select all

Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Unhandled exception
Type=Illegal instruction vmState=0x00000000
J9Generic_Signal_Number=00000010 Signal_Number=00000004 Error_Value=00000000 Signal_Code=00000001
Handler1=0FAF6D00 Handler2=0F9AB7C0
R0=00000000 R1=488363B0 R2=48840930 R3=6818E4B8
R4=00000000 R5=00000000 R6=00000001 R7=00000000
R8=00000000 R9=1048E100 R10=00000000 R11=0FADACC0
R12=6818E4B8 R13=10238100 R14=1027AC3C R15=00000000
R16=69B54843 R17=10314638 R18=00000000 R19=00000000
R20=10312854 R21=1027AC50 R22=10318E8C R23=10238100
R24=00000000 R25=00000010 R26=6818E4A8 R27=1027AB50
R28=69BF5D5B R29=00000000 R30=0FBC2D48 R31=00000000
NIP=0FB710E4 MSR=0208F932 ORIG_GPR3=00000016 CTR=0FA8D7DC
LINK=0FA90BE4 XER=00000000 CCR=22842484 MQ=00000000
TRAP=00000700 DAR=48AEF00C dsisr=42000000 RESULT=00000000
Module=/tmp/install.dir.16281/Linux/resource/jre/lib/ppc/default/libj9vm28.so
Module_base_address=0FA75000
Target=2_80_20161013_322271 (Linux 3.2.0-4-powerpc)
CPU=ppc (1 logical CPUs) (0x3ef1e000 RAM)
----------- Stack Backtrace -----------
(0x0F9956CC [libj9prt28.so+0x1f6cc])
(0x0F9AA00C [libj9prt28.so+0x3400c])
(0x0F995774 [libj9prt28.so+0x1f774])
(0x0F995954 [libj9prt28.so+0x1f954])
(0x0F995354 [libj9prt28.so+0x1f354])
(0x0F9AA00C [libj9prt28.so+0x3400c])
(0x0F995408 [libj9prt28.so+0x1f408])
(0x0FAF8180 [libj9vm28.so+0x83180])
(0x0FAF7784 [libj9vm28.so+0x82784])
(0x0F9AA00C [libj9prt28.so+0x3400c])
(0x0FAF6F6C [libj9vm28.so+0x81f6c])
(0x0FAF6D70 [libj9vm28.so+0x81d70])
(0x0F9AB9E0 [libj9prt28.so+0x359e0])
__kernel_sigtramp_rt32+0x0 (0x00100370)
(0x0FA88114 [libj9vm28.so+0x13114])
(0x0FAFB4D8 [libj9vm28.so+0x864d8])
(0x0FA9AE8C [libj9vm28.so+0x25e8c])
(0x0FA9BE38 [libj9vm28.so+0x26e38])
(0x0FA9C7A8 [libj9vm28.so+0x277a8])
(0x0FB40450 [libj9vm28.so+0xcb450])
(0x0FB40588 [libj9vm28.so+0xcb588])
(0x0FA87AD4 [libj9vm28.so+0x12ad4])
(0x0FAFB4D8 [libj9vm28.so+0x864d8])
(0x0FA9AE8C [libj9vm28.so+0x25e8c])
(0x0FA9BE38 [libj9vm28.so+0x26e38])
(0x0FA9C7A8 [libj9vm28.so+0x277a8])
(0x0FB40450 [libj9vm28.so+0xcb450])
(0x0FB40588 [libj9vm28.so+0xcb588])
(0x0FA87AD4 [libj9vm28.so+0x12ad4])
(0x0FAFB4D8 [libj9vm28.so+0x864d8])
(0x0DFB522C [libjclse7b_28.so+0x5822c])
(0x0DFC2D64 [libjclse7b_28.so+0x65d64])
J9VMDllMain+0x1b0 (0x0DFC2F70 [libjclse7b_28.so+0x65f70])
(0x0FB2B3C0 [libj9vm28.so+0xb63c0])
(0x0FB79B58 [libj9vm28.so+0x104b58])
(0x0FB24E4C [libj9vm28.so+0xafe4c])
(0x0F9AA00C [libj9prt28.so+0x3400c])
(0x0FB23A94 [libj9vm28.so+0xaea94])
J9_CreateJavaVM+0xac (0x0FB0902C [libj9vm28.so+0x9402c])
JNI_CreateJavaVM+0x830 (0x0FC0BE70 [libjvm.so+0x16e70])
JNI_CreateJavaVM+0x204 (0x0FD7A904 [libjvm.so+0x10904])
(0x0FF9231C [libjli.so+0x831c])
(0x0FFCB7B0 [libpthread.so.0+0x67b0])
clone+0x84 (0x0FEC28E0 [libc.so.6+0xf88e0])
---------------------------------------
JVMDUMP039I Processing dump event "gpf", detail "" at 2016/11/11 13:32:35 - please wait.
JVMDUMP032I JVM requested System dump using '/tmp/install.dir.16281/core.20161111.133235.16281.0001.dmp' in response to an event
JVMDUMP010I System dump written to /tmp/install.dir.16281/core.20161111.133235.16281.0001.dmp
JVMDUMP032I JVM requested Java dump using '/tmp/install.dir.16281/javacore.20161111.133235.16281.0002.txt' in response to an event
JVMDUMP010I Java dump written to /tmp/install.dir.16281/javacore.20161111.133235.16281.0002.txt
JVMDUMP032I JVM requested Snap dump using '/tmp/install.dir.16281/Snap.20161111.133235.16281.0003.trc' in response to an event
JVMDUMP010I Snap dump written to /tmp/install.dir.16281/Snap.20161111.133235.16281.0003.trc
JVMDUMP007I JVM Requesting JIT dump using '/tmp/install.dir.16281/jitdump.20161111.133235.16281.0004.dmp'
JVMDUMP010I JIT dump written to /tmp/install.dir.16281/jitdump.20161111.133235.16281.0004.dmp
JVMDUMP013I Processed dump event "gpf", detail "".
Then when attempting to compile Kaffe, "./configure" stops with this error:

Code: Select all

checking if class library exists and is readable at /usr/local/classpath/share/classpath/glibj.zip... no
configure: error: Couldn't find readable class library at /usr/local/classpath/share/classpath/glibj.zip
The websites for each are https://github.com/kaffe/kaffe and https://developer.ibm.com/javasdk/downloads/, and more info about MintPPC can be found at mintppc.org.


User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: How do I install Kaffe on Linux MintPPC?

#3 Post by GarryRicketson »

So what does any of this have to do with Debian ?

Linux Mint PPC , is not Debian,......"based on" does not make it Debian.

As for the rest : https://wiki.debian.org/DontBreakDebian
On Debian installing software from random websites is a bad habit.---
snip--- Only using software from the Debian repositories is also much safer than installing from random websites which could bundle malware and other security risks.

kryptenasi
Posts: 5
Joined: 2016-10-28 21:13

Re: How do I install Kaffe on Linux MintPPC?

#4 Post by kryptenasi »

GarryRicketson wrote: Linux Mint PPC , is not Debian,......"based on" does not make it Debian.
In /etc/apt/sources.list, it seems to have both the Debian Wheezy and Linux Mint Katya repositories, so maybe it's a hybrid of some sort? Also, you install it from a Debian Wheezt netinst CD, as it says on the website.
GarryRicketson wrote: As for the rest : https://wiki.debian.org/DontBreakDebian
On Debian installing software from random websites is a bad habit.---
snip--- Only using software from the Debian repositories is also much safer than installing from random websites which could bundle malware and other security risks.
I don't know why IBM would have malware in their stuff, but okay? Are there other Java things for PowerPC?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: How do I install Kaffe on Linux MintPPC?

#5 Post by stevepusser »

openjdk-7-jre in the Wheezy repository?
Full Java runtime environment - needed for executing Java GUI and Webstart programs, using Hotspot JIT. The packages are built using the IcedTea build support and patches from the IcedTea project.
openjdk-6-jre is also in the repo, and is the default. Both can be installed, and the runtime switched between them via the alternatives system.
MX Linux packager and developer

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: How do I install Kaffe on Linux MintPPC?

#6 Post by dasein »

kryptenasi wrote:In /etc/apt/sources.list, it seems to have both the Debian Wheezy and Linux Mint Katya repositories...
Oh goodie. Here's the thing: Mint isn't even based on Debian. It's based on something that's based on Debian.

Absolutely no one here runs this one-off Frankendisto, so all anyone here can do is guess. Random guesses from random strangers who don't know anything about the details of your OS are just as likely to be harmful as helpful.

Thus, the larger point remains that the only folks with expertise in this OS are the authors of this cross-bred monstrosity. You should be asking your question in their forums: http://www.mintppc.org/forums/

At the end of the day, running an obscure OS on rare hardware means you're pretty much on your own.

Best of luck to you.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: How do I install Kaffe on Linux MintPPC?

#7 Post by debiman »

the last release was 2011, then "based on Debian Wheezy, which is a testing release". lol.


...and just for some further lulz, the latest post from their forums:
And so, a few days after I penned this reply the FBI intervened in a US presidential election for the first time, Debian lowers the boom and removes support for PowerPC. Linked? Who knows, maybe Julian Assange can find us an email somewhere to clear this all up, but this pretty much sucks. Debian PowerPC may go to ports and have some life still, but, the writing is on the wall for PowerPC, and that writing says:

"We are Debian. You people and your arch do not matter to us. We have been assimilated into the Intel Collective. Resistance was futile. Look what they did to Ian."
:roll:

kryptenasi
Posts: 5
Joined: 2016-10-28 21:13

Re: How do I install Kaffe on Linux MintPPC?

#8 Post by kryptenasi »

"We are Debian. You people and your arch do not matter to us. We have been assimilated into the Intel Collective. Resistance was futile. Look what they did to Ian."
:lol: Yep, PowerPC is about dead by now. I think old computers are really misunderstood, though: people think they're useless hunks of junk, but with a few tweaks they can be rather useful.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: How do I install Kaffe on Linux MintPPC?

#9 Post by stevepusser »

Did openjdk get Minecraft to work?
MX Linux packager and developer

Post Reply