a photo uploader for Linux, Mac and Windows

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.

5 Responses to “GCJ Getting you down? Here’s the Ubuntu fix.”

  1. Nick Rigby Says:

    When trying to run the above I seem to get a:
    update-alternatives: unknown argument `–config’

    Any ideas?

    Thanks in advance.

  2. scohen Says:

    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.

  3. Jamie P Says:

    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.

  4. Philip Schlesinger Says:

    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.

  5. Heepie Says:

    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…

Leave a Reply