aqui também rodou normal.... este comando chama o programa direto não precisa instalar nada, a unica exigencia é o java funcionando, se seu java esta instalado e rodando normal, vc consegue acessar outros aplicativos feitos em java?
faça um teste:
https://files.getdropbox.com/u/135903/hjsplit_g.jar
java -jar hjsplit_g.jar
este é um aplicativo para juntar arquivos bem conhecido,, é um programa pequeno.. se rodar ai temos que descobrir o que pode ser, senão não rodar ai é problema no java;;;
link se o problema é java:
http://ubuntuforum-br.org/index.php/topic,41636.0.html
Bom, quando dei enter, apareceram várias mensagens. Tenho a impressão de que o programa que hjsplit_g não foi instalado, olha só:
root@alex-desktop:/home/alex/Desktop# java -jar hjsplit_g.jar
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.<init>(Window.java:431)
at java.awt.Frame.<init>(Frame.java:403)
at java.awt.Frame.<init>(Frame.java:368)
at javax.swing.JFrame.<init>(JFrame.java:163)
at hakgu.app.hjsplit.HJSplitFrame.<init>(HJSplitFrame.java:81)
at hakgu.app.hjsplit.HJSplitFrame.main(HJSplitFrame.java:300)
at hakgu.app.hjsplit.HJSplit.main(HJSplit.java:17)
Usage: java -jar hjsplit.jar [-options] -c command -f file
java hakgu.app.hjsplit.HJSplit [-options] -c command -f file
command:
split splits the file into two or more parts
-s size the size of each file in Mb (1 Mb ~ 1000 Kb)
join joins the file (with the suffix .001) with the files .002, .003 etc...
-f2 file the file to which the other files where joined
checksum calculates the checksum of the file
compare compares two files
-f2 file the second file to compare the first file with
help prints this help and exits
options:
-h | -help prints this help and exits
Example 1: to split a file called foo.mp3 into parts of the size 1.44 Mb:
java -jar hjsplit.jar -s 1.44 -c split -f foo.mp3
Example 2: to join the files foo.mp3.001 ... foo.mp3.006 into a file called foo.mp3:
java -jar hjsplit.jar -c join -f foo.mp3.001
Example 3: to calculate the checksum of a file called foo.mp3:
java -jar hjsplit.jar -c checksum -f foo.mp3
Example 4: to compare a file called foo.mp3 with a file called bar.mp3:
java -jar hjsplit.jar -c compare -f foo.mp3 -f2 bar.mp3
When run with no arguments, e.g. "java -jar hjsplit.jar", the GUI version
of HJSplit for Java! is launched.
However, if the Java version doesn't support Java2 (JDK 1.2 or above),
a dialog is displayed explaining the problem. If no window manager is available
(e.g unable to display a window) this message is printed to "System.err".
Please report bugs to <hakgu@lysator.liu.se>
O que devo fazer, sendo assim? Essas mensagens me parecem dizer que houve erro no Java como você disse. É isso mesmo?