iriverter doesn't recognize Java on my system

Bug #78065 reported by Conrad Knauer
4
Affects Status Importance Assigned to Milestone
iriverter (Ubuntu)
Fix Released
Undecided
Richard Bailey

Bug Description

Binary package hint: iriverter

In Feisty, iriverter has (among other dependencies) "java-gcj-compat | sun-java5-bin". I have java-gcj-compat installed, but not sun-java5-bin; I do however have sun-java6-bin installed. Running iriverter from Terminal gives the following error:

/usr/bin/iriverter: 4: java: not found

Given the dependency listed, I should be able to run it even if I don't have sun-java5-bin installed. Since it doesn't, please either change it to something like:

Depends: java-gcj-compat
Depends: sun-java5-bin

or preferably:

Depends: java-gcj-compat
Depends: sun-java5-bin | sun-java6-bin

and then please fix it so that it knows where Java 6 is :)

Richard Bailey (rmjb)
Changed in iriverter:
assignee: nobody → rmjb
status: Unconfirmed → In Progress
Revision history for this message
Richard Bailey (rmjb) wrote :

Conrad, can you give some more details as to what related packages you have installed? In my testing iriverter always works on feisty once java-gcj-compat is installed.

Changed in iriverter:
status: In Progress → Needs Info
Revision history for this message
Conrad Knauer (atheoi) wrote :

Searching for java in Synaptic, except for the obviously non-related packages that just have Java in their description, they are:

bsh
fastjar
gcj-4.1-base
gdb
gij
gij-4.1
java-common
java-gcj-compat
libgcj7-0
libgcj7-jar
libgcj-common
libhsqldb-java
libjaxp1.2-java
libjaxp1.3-java
libjline-java
libservlet2.3-java
libswt3.2-gtk-java
libswt3.2-gtk-jni
libxalan2-java
libxerces2-java
sun-java6-bin
sun-java6-fonts
sun-java6-jre
sun-java6-plugin

Try to reproduce this on your system by installing the sun-java6-* packages I listed and then install iriverter; java-gcj-compat will be installed and when you run iriverter from the commandline, it will output:

/usr/bin/iriverter: 4: java: not found

Perhaps as a related error, I downloaded the source (v. 0.16) from http://iriverter.sourceforge.net/ and ran the configure file and it stopped with an error:

checking for javac... no
configure: error: Can't find "javac" in your PATH

Revision history for this message
Richard Bailey (rmjb) wrote :

Hi Conrad, again when I test I don't get the error you're getting. I installed the sun-java6* packages you had listed and then installed iriverter and running it from the command line worked, it did not bring up any error.

Can you try again? It may have been a dependency issue in feisty at the time you were installing.

Revision history for this message
Conrad Knauer (atheoi) wrote :

Indeed! I did a clean install using a Herd 4 Live CD, updated to the latest packages from the repositories, reinstalled my packages (including sun-java6-bin but *not* sun-java5-bin) and then installed iriverter (which installed java-gcj-compat as a dependency)... and it works now 8-)

So I guess you can mark this as "Fix Released" or such...

Thanks :-)

Revision history for this message
Conrad Knauer (atheoi) wrote :

Or, you know, I could just change it :)

Changed in iriverter:
status: Needs Info → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.