On Fedora Core 5 I installed ant (yum install ant) and installed plarpebu 21 beta.
No problem during this:
[root@localhost plarpebu_beta_21_src]# ant archive
Buildfile: build.xml init: javacompile: compile: resource: archive:
[jar] Building jar: /home/ario/pc/packages/plarpebu_beta_21_src/player.jar
BUILD SUCCESSFUL Total time: 16 seconds
[root@localhost plarpebu_beta_21_src]# exit
But when I tried to run the program:
[user@localhost:~/pc/packages/plarpebu_beta_21_src]$ java -jar player.jar
No preferences file found :
Exception in thread "main" java.lang.Error: Graphics2D not implemented. Cairo was not found or disabled at configure time
at gnu.java.awt.peer.gtk.GdkGraphics2D.<clinit>(lib-gnu-java-awt-peer-gtk.so.7)
at java.lang.Class.initializeClass(libgcj.so.7)
at gnu.java.awt.peer.gtk.GdkGraphicsEnvironment.createGraphics(lib-gnu-java-awt-peer-gtk.so.7)
at java.awt.image.BufferedImage.createGraphics(libgcj.so.7)
at com.l2fprod.util.ImageUtils.toBufferedImage(ImageUtils.java:592)
at com.l2fprod.util.ImageUtils.transparent(ImageUtils.java:479)
at com.l2fprod.gui.plaf.skin.SkinUtils.loadImage(SkinUtils.java:155)
at com.l2fprod.gui.plaf.skin.SkinLookAndFeel.loadThemePackDefinition(SkinLookAndFeel.java:805)
at com.l2fprod.gui.plaf.skin.SkinLookAndFeel.loadThemePack(SkinLookAndFeel.java:682)
at com.l2fprod.gui.plaf.skin.SkinLookAndFeel.loadThemePack(SkinLookAndFeel.java:666)
at com.l2fprod.gui.plaf.skin.SkinLookAndFeel.loadThemePack(SkinLookAndFeel.java:651)
at player.test.Player.main(Player.java:707)
[user@localhost:~/pc/packages/plarpebu_beta_21_src]$
Or when I tried (the other suggested method):
[user@localhost:~/pc/packages/plarpebu_beta_21_src]$ ant run
Buildfile: build.xml
precompile: init: javacompile: compile: postcompile: resource: archive: BUILD FAILED
/home/user/pc/packages/plarpebu_beta_21_src/build.xml:51: /home/user/pc/packages/plarpebu_beta_21_src/plugins/albumGrabber.jar is read-only.
Total time: 2 seconds
[user@localhost:~/pc/packages/plarpebu_beta_21_src]$
So, what's wrong here?
Thsnks,
arie_
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
HELP! Here is the output from "ant run". I don't know where to find the error file. I know little about java. I followed the instructions in the distribution -- but I don't have a clue about fixing the errors.
compile:
/home/kersey/plarpebu/plarpebu 1.0 release sourceforge/plarpebu/build.xml:49: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
Compiling 10 source files to /home/kersey/plarpebu/plarpebu 1.0 release sourceforge/plarpebu/build/classes.player
/home/kersey/plarpebu/plarpebu 1.0 release sourceforge/plarpebu/src/player/com/plarpebu/plugins/sdk/FramePlugin.java:31: error: getType() in FramePlugin cannot override getType() in Window
public Class getType()
^
return type Class is not compatible with Type
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
BUILD FAILED
/home/kersey/plarpebu/plarpebu 1.0 release sourceforge/plarpebu/build.xml:49: Compile failed; see the compiler error output for details.
Total time: 6 seconds"
APPEARS TO BE A NICE PROGRAM. SURE WOULD LIKE HELP TO GET IT RUNNING.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On Fedora Core 5 I installed ant (yum install ant) and installed plarpebu 21 beta.
No problem during this:
[root@localhost plarpebu_beta_21_src]# ant archive
Buildfile: build.xml init: javacompile: compile: resource: archive:
[jar] Building jar: /home/ario/pc/packages/plarpebu_beta_21_src/player.jar
BUILD SUCCESSFUL Total time: 16 seconds
[root@localhost plarpebu_beta_21_src]# exit
But when I tried to run the program:
[user@localhost:~/pc/packages/plarpebu_beta_21_src]$ java -jar player.jar
No preferences file found :
Exception in thread "main" java.lang.Error: Graphics2D not implemented. Cairo was not found or disabled at configure time
at gnu.java.awt.peer.gtk.GdkGraphics2D.<clinit>(lib-gnu-java-awt-peer-gtk.so.7)
at java.lang.Class.initializeClass(libgcj.so.7)
at gnu.java.awt.peer.gtk.GdkGraphicsEnvironment.createGraphics(lib-gnu-java-awt-peer-gtk.so.7)
at java.awt.image.BufferedImage.createGraphics(libgcj.so.7)
at com.l2fprod.util.ImageUtils.toBufferedImage(ImageUtils.java:592)
at com.l2fprod.util.ImageUtils.transparent(ImageUtils.java:479)
at com.l2fprod.gui.plaf.skin.SkinUtils.loadImage(SkinUtils.java:155)
at com.l2fprod.gui.plaf.skin.SkinLookAndFeel.loadThemePackDefinition(SkinLookAndFeel.java:805)
at com.l2fprod.gui.plaf.skin.SkinLookAndFeel.loadThemePack(SkinLookAndFeel.java:682)
at com.l2fprod.gui.plaf.skin.SkinLookAndFeel.loadThemePack(SkinLookAndFeel.java:666)
at com.l2fprod.gui.plaf.skin.SkinLookAndFeel.loadThemePack(SkinLookAndFeel.java:651)
at player.test.Player.main(Player.java:707)
[user@localhost:~/pc/packages/plarpebu_beta_21_src]$
Or when I tried (the other suggested method):
[user@localhost:~/pc/packages/plarpebu_beta_21_src]$ ant run
Buildfile: build.xml
precompile: init: javacompile: compile: postcompile: resource: archive: BUILD FAILED
/home/user/pc/packages/plarpebu_beta_21_src/build.xml:51: /home/user/pc/packages/plarpebu_beta_21_src/plugins/albumGrabber.jar is read-only.
Total time: 2 seconds
[user@localhost:~/pc/packages/plarpebu_beta_21_src]$
So, what's wrong here?
Thsnks,
arie_
Sorry for the late response, you should use "ant run" at the directory you are using.
Also it is recomendable to use a shell script too...
Also try the new version and chmod 777 all files
HELP! Here is the output from "ant run". I don't know where to find the error file. I know little about java. I followed the instructions in the distribution -- but I don't have a clue about fixing the errors.
"Buildfile: /home/kersey/plarpebu/plarpebu 1.0 release sourceforge/plarpebu/build.xml
init:
compile:
/home/kersey/plarpebu/plarpebu 1.0 release sourceforge/plarpebu/build.xml:49: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
Compiling 10 source files to /home/kersey/plarpebu/plarpebu 1.0 release sourceforge/plarpebu/build/classes.player
/home/kersey/plarpebu/plarpebu 1.0 release sourceforge/plarpebu/src/player/com/plarpebu/plugins/sdk/FramePlugin.java:31: error: getType() in FramePlugin cannot override getType() in Window
public Class getType()
^
return type Class is not compatible with Type
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
BUILD FAILED
/home/kersey/plarpebu/plarpebu 1.0 release sourceforge/plarpebu/build.xml:49: Compile failed; see the compiler error output for details.
Total time: 6 seconds"
APPEARS TO BE A NICE PROGRAM. SURE WOULD LIKE HELP TO GET IT RUNNING.