Looking for Owens Personal Homepage? This is not it..
Please go to http://easytarget.me.uk/
This site is for technical articles and personal opinion, which I keep separate from my daily living stuff, and fish (I like fish).
|
Looking for Owens Personal Homepage? This is not it.. Please go to http://easytarget.me.uk/ This site is for technical articles and personal opinion, which I keep separate from my daily living stuff, and fish (I like fish). Ok, so it is a 64-bit incompatibility. The eternally useful mypodder application runs well on Windows and Linux in 32bit mode, but fails badly in Linux 64 bit (I have not tested in Windows x64 yet). There is a way to get it working however, thanks to the fact that Sun’s official Java runtime environment runs well as a ’self contained’ install. So I have installed 32bit java in a local folder, and run the linux java mypodder app from that. Note; This is on Fedora 12, there is no reason at all why it will not also work on 64 bit ubuntu, arch, RH, etc… there is nothing Fedora specific in what I am doing here. You do need to know how to use the command line; if that means nothing to you I suggest getting a geeky friend/relative to help. You do not need root access for this! Basically; go to http://java.sun.com/javase/downloads/ and select the ‘Download JRE’ button (you do not need the JDK developers kit). On the next page, select ‘Linux’ (not linux- itanium or x64), select the ‘I agree’ button, and hit ‘Continue’ (the email address part is optional). On the next page select the ‘binary’ package, NOT the ‘rpm’ package. Look at the filename.. I downloaded ‘jre-6u18-linux-i586.bin’. I then opened a terminal (shell) and made a folder for the install: home> mkdir ~/java32 home> cd ~java32 home> mv ~/Downloads/jre-6u18-linux-i586.bin . home> sh jre-6u18-linux-i586.bin <Answer 'Yes' to the licence agreement> Now test (adjust the path if you installed a different version than 1.6.0_18 home> ~/java32/jre1.6.0_18/bin/java -version java version "1.6.0_18" Java(TM) SE Runtime Environment (build 1.6.0_18-b07) Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode) That looks cool, the correct Java is available a the new path, running just ‘> java -version’ still gives me the Fedora installed OpenJDK 64 bit version, so I have not broken my base system. Now to start mypodder: Change to the mypodder directory (or wherever you normally run mypodder from) and edit the start_linux script to use the standalone 32bit java instead of the default system java. In my case I copied the existing script to a new one called ’start_linux64.sh’. home> cd /media/SANSA\ CLIP/mypodder/ <your path will vary> home> cp -p start_linux.sh start_linux64.sh home> gedit start_linux64.sh <or use nedit, vi, whatever floats your boat> Modify this so the exlicit path of the 32 bit java executable is used in the command to start mypodder. The following worked well for me: I replaced java -Djava.library.path=./linux -classpath .:./linux:./linux/swt.jar:./linux/piccolo.jar Core with ~/java32/jre1.6.0_18/bin/java -Djava.library.path=./linux -classpath .:./linux:./linux/swt.jar:./linux/piccolo.jar Core And that was it, running on my desktop 10 seconds later I actually still use this on 32bit Fedora 12 and archlinux, so I left the old start script intact, I only use the alternate script on my 64bit work system. PS: I did this after wasting hours trying to get mypodder to run under wine32; that was a world of pain and confusion.. |
||
|
Copyright © 2010 Owens Li'll Rant on the Web - All Rights Reserved |
||