GCJ Getting you down? Here’s the Ubuntu fix.
For all those Ubuntu users with the following error:
Starting JUploadr…
Java exec found in PATH. Verifying…
Suitable java version found [java = 1.4.2]
Configuring environment…
GCJ is an incompatible version of java
Do the following:
sudo update-alternatives --config java
You will see a list of java executables. Just choose Sun’s version.
if you need help setting up installing Java in Ubuntu, follow this link:
https://help.ubuntu.com/community/Java
Hat tip to Brett M., whose comment is reproduced here more or less intact.




April 23rd, 2007 at 8:51 am
When trying to run the above I seem to get a:
update-alternatives: unknown argument `–config’
Any ideas?
Thanks in advance.
April 23rd, 2007 at 11:14 am
Nick,
I’ve googled around, and it appears that update-alternatives takes the –config option. Make sure there are two dashes in there. Looks like I originally posted only one.
April 24th, 2007 at 1:06 am
This initially didn’t work for me, I got…
There is only 1 program which provides java
(/usr/bin/gij-wrapper-4.1). Nothing to configure.
Fixed it by installing “sun-java6-bin” from multiverse, juploadr now works fine.
May 18th, 2007 at 10:37 am
If there’s only one java and it’s gcj, try:
sudo apt-get install sun-java5-jre
Then run:
sudo update-alternatives –config java
to make sure Sun’s Java is installed correctly.
September 20th, 2007 at 11:59 am
I didn’t have any problem it work first time….
The only thing you have to do is download the application, decompresset. And then go into the directory (cd) and run this command
./jUploadr
That it!!! simple…
But make sure you have you java runtime environment installed properly before hand…
By the way… fair play to whoever done the application. Rules mate!!!
Don’t you just love the linux community…