package org.jfugue does not exist

Bug #1026311 reported by Aditya V
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
jfugue (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Description: Ubuntu 12.04 LTS
Release: 12.04

When trying to compile some code using JFugue, I keep running into this error:

Canon.java:1: package org.jfugue does not exist
import org.jfugue.*;

The example code used is located on JFugue's website: http://www.jfugue.org/code/canon.zip

Revision history for this message
Giovanni Mascellani (giomasce) wrote :

Which command did you use for the compilation? Probably you didn't include jfugue.jar in the CLASSPATH.

Changed in jfugue (Ubuntu):
status: New → Invalid
Revision history for this message
Allan W. Macdonald (allan-w-macdonald) wrote :

I know this is a really old bug but I just installed jfugue (on Ubuntu 18.04LTS) and I also ran into this problem. I was able to figure out what was wrong so I thought I'd post this in order to help someone else who may have googled and landed here:

The import line from the first couple of examples on the web site (http://www.jfugue.org/examples.html) is incorrect:

import org.jfugue.player.Player;

The correct line is:

import org.jfugue.Player;

I didn't try any of the other examples but they probably all have the same issue.

p.s. I used the following command and the output gave me a hint of what the problem was:

jar -tf /usr/share/java/jfugue.jar | grep -i player

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.