在 Ubuntu 上执行 Java 给出乱码输出

Executing Java on Ubuntu gives gibberish output

(根据评论和回答在下方更新)


我在 Windows 上开发了一些 Java,并且我已经在那台机器上成功地执行了它。我第一次尝试在 Ubuntu 上执行它。我安装了OpenJDK-7-jre,并且把jar和源码都复制过来了。

罐子:

(djauth_venv)~/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build$ ls -la dependency_jars/
-rw-rw-r-- 1 jeffy jeffy 185140 Jun 12  2012 commons-io-2.4.jar
-rw-rw-r-- 1 jeffy jeffy  18863 Dec 11 12:53 templatefeather-0.1.1.2.jar
-rw-rw-r-- 1 jeffy jeffy 665303 Dec 11 12:52 xbnjava-0.1.5.jar

尝试使用

执行时

java BuildPartFour -classpath /usr/lib/jvm/java-7-openjdk-i386/jre/lib/rt.jar;/home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/commons-io-2.4.jar;/home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/templatefeather-0.1.1.2.jar;/home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

它导致每个 jar 的权限被拒绝:

Exception in thread "main" java.lang.NoClassDefFoundError: com/github/xbn/io/PlainTextFileUtil
        at BuildPartFour.main(BuildPartFour.java:14)
Caused by: java.lang.ClassNotFoundException: com.github.xbn.io.PlainTextFileUtil
        at java.net.URLClassLoader.run(URLClassLoader.java:366)
        at java.net.URLClassLoader.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        ... 1 more
-bash: /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/commons-io-2.4.jar: Permission denied
-bash: /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/templatefeather-0.1.1.2.jar: Permission denied
-bash: /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar: Permission denied

我已将 jars 更改为可执行文件

(djauth_venv)jeffy@originaldjangster:~/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build$ chmod 774 dependency_jars/*.jar
(djauth_venv)jeffy@originaldjangster:~/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build$ ls -la dependency_jars/               total 864
-rwxrwxr-- 1 jeffy jeffy 185140 Jun 12  2012 commons-io-2.4.jar
-rwxrwxr-- 1 jeffy jeffy  18863 Dec 11 12:53 templatefeather-0.1.1.2.jar
-rwxrwxr-- 1 jeffy jeffy 665303 Dec 11 12:52 xbnjava-0.1.5.jar

但是现在,当再次尝试执行它时,我得到了这个疯狂的输出:

Exception in thread "main" java.lang.NoClassDefFoundError: com/github/xbn/io/PlainTextFileUtil
        at BuildPartFour.main(BuildPartFour.java:14)
Caused by: java.lang.ClassNotFoundException: com.github.xbn.io.PlainTextFileUtil
        at java.net.URLClassLoader.run(URLClassLoader.java:366)
        at java.net.URLClassLoader.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        ... 1 more
/home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/commons-io-2.4.jar: line 1: 

今天早些时候,我在 Windows 机器上通过 SFTP 成功执行了此操作。它非常慢,但它有效。在Ubuntu中直接执行这个需要做什么?

谢谢。


根据评论和回答更新

谢谢@Alex 和@ChrisStratton。再次使 jars 不可执行并使用冒号后,我不再收到乱码,但它仍然给我

Exception in thread "main" java.lang.NoClassDefFoundError: com/github/xbn/io/PlainTextFileUtil
at BuildPartFour.main(BuildPartFour.java:14)
Caused by: java.lang.ClassNotFoundException: com.github.xbn.io.PlainTextFileUtil`. 

这个class确实在罐子里:

z l /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)

Listing archive: /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar


--
Path = /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

Type = zip
Physical Size = 665303

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2014-12-11 12:52:24 D....            0            0  META-INF
2014-12-11 12:52:22 .....          103           90  META-INF/MANIFEST.MF
2014-12-11 12:51:40 D....            0            0  com
2014-12-11 12:51:40 D....            0            0  com/github
2014-12-11 12:51:52 D....            0            0  com/github/xbn

...

2014-12-11 12:51:40 .....         5523         2651  com/github/xbn/io/IOUtil.class
2014-12-11 12:51:40 .....         2483         1098  com/github/xbn/io/MultiTextAppender.class
2014-12-11 12:51:40 .....         2018          865  com/github/xbn/io/NewPrintWriterToFile.class
2014-12-11 12:51:40 .....         2497          927  com/github/xbn/io/NewTextAppenderFor.class
2014-12-11 12:51:40 .....         1687          685  com/github/xbn/io/NewTextAppenterFor.class
2014-12-11 12:51:40 .....         5655         2311  com/github/xbn/io/PathMustBe.class
2014-12-11 12:51:40 .....         2250          906  com/github/xbn/io/PlainTextFileUtil.class
2014-12-11 12:51:40 .....         1656          871  com/github/xbn/io/PrintStreamForString.class
2014-12-11 12:51:40 .....          458          292  com/github/xbn/io/RTAccessDeniedException.class
2014-12-11 12:51:40 .....          450          288  com/github/xbn/io/RTEndOfFileException.class
2014-12-11 12:51:40 .....          458          288  com/github/xbn/io/RTFileNotFoundException.class

...

------------------- ----- ------------ ------------  ------------------------
                               1437122       545645  621 files, 49 folders

我还缺少什么?

PK[=15=]3[=15=]4': command not found /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/commons-io-2.4.jar: line 2:

今天早些时候,我在 Windows 机器上通过 SFTP 成功执行了此操作。它非常慢,但它有效。在Ubuntu中直接执行这个需要做什么?

谢谢。


根据评论和回答更新

谢谢@Alex 和@ChrisStratton。再次使 jars 不可执行并使用冒号后,我不再收到乱码,但它仍然给我

Exception in thread "main" java.lang.NoClassDefFoundError: com/github/xbn/io/PlainTextFileUtil
at BuildPartFour.main(BuildPartFour.java:14)
Caused by: java.lang.ClassNotFoundException: com.github.xbn.io.PlainTextFileUtil`. 

这个class确实在罐子里:

z l /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)

Listing archive: /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar


--
Path = /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

Type = zip
Physical Size = 665303

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2014-12-11 12:52:24 D....            0            0  META-INF
2014-12-11 12:52:22 .....          103           90  META-INF/MANIFEST.MF
2014-12-11 12:51:40 D....            0            0  com
2014-12-11 12:51:40 D....            0            0  com/github
2014-12-11 12:51:52 D....            0            0  com/github/xbn

...

2014-12-11 12:51:40 .....         5523         2651  com/github/xbn/io/IOUtil.class
2014-12-11 12:51:40 .....         2483         1098  com/github/xbn/io/MultiTextAppender.class
2014-12-11 12:51:40 .....         2018          865  com/github/xbn/io/NewPrintWriterToFile.class
2014-12-11 12:51:40 .....         2497          927  com/github/xbn/io/NewTextAppenderFor.class
2014-12-11 12:51:40 .....         1687          685  com/github/xbn/io/NewTextAppenterFor.class
2014-12-11 12:51:40 .....         5655         2311  com/github/xbn/io/PathMustBe.class
2014-12-11 12:51:40 .....         2250          906  com/github/xbn/io/PlainTextFileUtil.class
2014-12-11 12:51:40 .....         1656          871  com/github/xbn/io/PrintStreamForString.class
2014-12-11 12:51:40 .....          458          292  com/github/xbn/io/RTAccessDeniedException.class
2014-12-11 12:51:40 .....          450          288  com/github/xbn/io/RTEndOfFileException.class
2014-12-11 12:51:40 .....          458          288  com/github/xbn/io/RTFileNotFoundException.class

...

------------------- ----- ------------ ------------  ------------------------
                               1437122       545645  621 files, 49 folders

我还缺少什么?

v24@': command not found /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/commons-io-2.4.jar: line 21: syntax error near unexpected token `)' /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/commons-io-2.4.jar: line 21: `▒Ғ▒^w▒ ▒▒W▒!▒▒ N▒ g▒▒1^▒yKn▒K(▒"▒N▒▒▒ ▒F/L*▒vTb6▒▒▒▒l4]▒▒▒hL▒F▒▒▒▒`▒l▒8m▒C▒▒▒▒▒▒▒u▒▒▒A▒*▒O▒▒▒▒6Jys▒▒C%▒▒݅Z▒ب▒&▒@▒▒▒9▒▒▒^▒"▒ID_▒▒▒▒$ +yr.,▒▒趒3▒a▒▒O▒▒▒eq▒▒e▒M▒5|▒Ȓ;▒▒▒=▒<])_▒pڔ▒▒▒D▒▒▒írU$▒E▒+' /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/templatefeather-0.1.1.2.jar: line 1:

今天早些时候,我在 Windows 机器上通过 SFTP 成功执行了此操作。它非常慢,但它有效。在Ubuntu中直接执行这个需要做什么?

谢谢。


根据评论和回答更新

谢谢@Alex 和@ChrisStratton。再次使 jars 不可执行并使用冒号后,我不再收到乱码,但它仍然给我

Exception in thread "main" java.lang.NoClassDefFoundError: com/github/xbn/io/PlainTextFileUtil
at BuildPartFour.main(BuildPartFour.java:14)
Caused by: java.lang.ClassNotFoundException: com.github.xbn.io.PlainTextFileUtil`. 

这个class确实在罐子里:

z l /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)

Listing archive: /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar


--
Path = /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

Type = zip
Physical Size = 665303

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2014-12-11 12:52:24 D....            0            0  META-INF
2014-12-11 12:52:22 .....          103           90  META-INF/MANIFEST.MF
2014-12-11 12:51:40 D....            0            0  com
2014-12-11 12:51:40 D....            0            0  com/github
2014-12-11 12:51:52 D....            0            0  com/github/xbn

...

2014-12-11 12:51:40 .....         5523         2651  com/github/xbn/io/IOUtil.class
2014-12-11 12:51:40 .....         2483         1098  com/github/xbn/io/MultiTextAppender.class
2014-12-11 12:51:40 .....         2018          865  com/github/xbn/io/NewPrintWriterToFile.class
2014-12-11 12:51:40 .....         2497          927  com/github/xbn/io/NewTextAppenderFor.class
2014-12-11 12:51:40 .....         1687          685  com/github/xbn/io/NewTextAppenterFor.class
2014-12-11 12:51:40 .....         5655         2311  com/github/xbn/io/PathMustBe.class
2014-12-11 12:51:40 .....         2250          906  com/github/xbn/io/PlainTextFileUtil.class
2014-12-11 12:51:40 .....         1656          871  com/github/xbn/io/PrintStreamForString.class
2014-12-11 12:51:40 .....          458          292  com/github/xbn/io/RTAccessDeniedException.class
2014-12-11 12:51:40 .....          450          288  com/github/xbn/io/RTEndOfFileException.class
2014-12-11 12:51:40 .....          458          288  com/github/xbn/io/RTFileNotFoundException.class

...

------------------- ----- ------------ ------------  ------------------------
                               1437122       545645  621 files, 49 folders

我还缺少什么?

PK[=15=]3[=15=]4': command not found /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/templatefeather-0.1.1.2.jar: line 2:

今天早些时候,我在 Windows 机器上通过 SFTP 成功执行了此操作。它非常慢,但它有效。在Ubuntu中直接执行这个需要做什么?

谢谢。


根据评论和回答更新

谢谢@Alex 和@ChrisStratton。再次使 jars 不可执行并使用冒号后,我不再收到乱码,但它仍然给我

Exception in thread "main" java.lang.NoClassDefFoundError: com/github/xbn/io/PlainTextFileUtil
at BuildPartFour.main(BuildPartFour.java:14)
Caused by: java.lang.ClassNotFoundException: com.github.xbn.io.PlainTextFileUtil`. 

这个class确实在罐子里:

z l /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)

Listing archive: /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar


--
Path = /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

Type = zip
Physical Size = 665303

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2014-12-11 12:52:24 D....            0            0  META-INF
2014-12-11 12:52:22 .....          103           90  META-INF/MANIFEST.MF
2014-12-11 12:51:40 D....            0            0  com
2014-12-11 12:51:40 D....            0            0  com/github
2014-12-11 12:51:52 D....            0            0  com/github/xbn

...

2014-12-11 12:51:40 .....         5523         2651  com/github/xbn/io/IOUtil.class
2014-12-11 12:51:40 .....         2483         1098  com/github/xbn/io/MultiTextAppender.class
2014-12-11 12:51:40 .....         2018          865  com/github/xbn/io/NewPrintWriterToFile.class
2014-12-11 12:51:40 .....         2497          927  com/github/xbn/io/NewTextAppenderFor.class
2014-12-11 12:51:40 .....         1687          685  com/github/xbn/io/NewTextAppenterFor.class
2014-12-11 12:51:40 .....         5655         2311  com/github/xbn/io/PathMustBe.class
2014-12-11 12:51:40 .....         2250          906  com/github/xbn/io/PlainTextFileUtil.class
2014-12-11 12:51:40 .....         1656          871  com/github/xbn/io/PrintStreamForString.class
2014-12-11 12:51:40 .....          458          292  com/github/xbn/io/RTAccessDeniedException.class
2014-12-11 12:51:40 .....          450          288  com/github/xbn/io/RTEndOfFileException.class
2014-12-11 12:51:40 .....          458          288  com/github/xbn/io/RTFileNotFoundException.class

...

------------------- ----- ------------ ------------  ------------------------
                               1437122       545645  621 files, 49 folders

我还缺少什么?

\b5f3E': command not found /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/templatefeather-0.1.1.2.jar: line 3▒f▒E2▒f▒ZgMETA-K-*▒▒ϳR0▒3▒▒r▒Cq,HL▒HU▒%-▒Lx▒▒▒RKRSt▒*A▒▒▒ ▒͍t▒ M4▒▒sR▒▒: No such file or directory /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/templatefeather-0.1.1.2.jar: line 4:

今天早些时候,我在 Windows 机器上通过 SFTP 成功执行了此操作。它非常慢,但它有效。在Ubuntu中直接执行这个需要做什么?

谢谢。


根据评论和回答更新

谢谢@Alex 和@ChrisStratton。再次使 jars 不可执行并使用冒号后,我不再收到乱码,但它仍然给我

Exception in thread "main" java.lang.NoClassDefFoundError: com/github/xbn/io/PlainTextFileUtil
at BuildPartFour.main(BuildPartFour.java:14)
Caused by: java.lang.ClassNotFoundException: com.github.xbn.io.PlainTextFileUtil`. 

这个class确实在罐子里:

z l /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)

Listing archive: /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar


--
Path = /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

Type = zip
Physical Size = 665303

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2014-12-11 12:52:24 D....            0            0  META-INF
2014-12-11 12:52:22 .....          103           90  META-INF/MANIFEST.MF
2014-12-11 12:51:40 D....            0            0  com
2014-12-11 12:51:40 D....            0            0  com/github
2014-12-11 12:51:52 D....            0            0  com/github/xbn

...

2014-12-11 12:51:40 .....         5523         2651  com/github/xbn/io/IOUtil.class
2014-12-11 12:51:40 .....         2483         1098  com/github/xbn/io/MultiTextAppender.class
2014-12-11 12:51:40 .....         2018          865  com/github/xbn/io/NewPrintWriterToFile.class
2014-12-11 12:51:40 .....         2497          927  com/github/xbn/io/NewTextAppenderFor.class
2014-12-11 12:51:40 .....         1687          685  com/github/xbn/io/NewTextAppenterFor.class
2014-12-11 12:51:40 .....         5655         2311  com/github/xbn/io/PathMustBe.class
2014-12-11 12:51:40 .....         2250          906  com/github/xbn/io/PlainTextFileUtil.class
2014-12-11 12:51:40 .....         1656          871  com/github/xbn/io/PrintStreamForString.class
2014-12-11 12:51:40 .....          458          292  com/github/xbn/io/RTAccessDeniedException.class
2014-12-11 12:51:40 .....          450          288  com/github/xbn/io/RTEndOfFileException.class
2014-12-11 12:51:40 .....          458          288  com/github/xbn/io/RTFileNotFoundException.class

...

------------------- ----- ------------ ------------  ------------------------
                               1437122       545645  621 files, 49 folders

我还缺少什么?

232K025y1x1PK[=15=]3[=15=]4': command not found /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/templatefeather-0.1.1.2.jar: line 5:{f▒Ecom/PK: No such file or directory /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/templatefeather-0.1.1.2.jar: line 6: f▒E com/github/PK: No such file or directory /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/templatefeather-0.1.1.2.jar: line 6:

今天早些时候,我在 Windows 机器上通过 SFTP 成功执行了此操作。它非常慢,但它有效。在Ubuntu中直接执行这个需要做什么?

谢谢。


根据评论和回答更新

谢谢@Alex 和@ChrisStratton。再次使 jars 不可执行并使用冒号后,我不再收到乱码,但它仍然给我

Exception in thread "main" java.lang.NoClassDefFoundError: com/github/xbn/io/PlainTextFileUtil
at BuildPartFour.main(BuildPartFour.java:14)
Caused by: java.lang.ClassNotFoundException: com.github.xbn.io.PlainTextFileUtil`. 

这个class确实在罐子里:

z l /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)

Listing archive: /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar


--
Path = /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

Type = zip
Physical Size = 665303

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2014-12-11 12:52:24 D....            0            0  META-INF
2014-12-11 12:52:22 .....          103           90  META-INF/MANIFEST.MF
2014-12-11 12:51:40 D....            0            0  com
2014-12-11 12:51:40 D....            0            0  com/github
2014-12-11 12:51:52 D....            0            0  com/github/xbn

...

2014-12-11 12:51:40 .....         5523         2651  com/github/xbn/io/IOUtil.class
2014-12-11 12:51:40 .....         2483         1098  com/github/xbn/io/MultiTextAppender.class
2014-12-11 12:51:40 .....         2018          865  com/github/xbn/io/NewPrintWriterToFile.class
2014-12-11 12:51:40 .....         2497          927  com/github/xbn/io/NewTextAppenderFor.class
2014-12-11 12:51:40 .....         1687          685  com/github/xbn/io/NewTextAppenterFor.class
2014-12-11 12:51:40 .....         5655         2311  com/github/xbn/io/PathMustBe.class
2014-12-11 12:51:40 .....         2250          906  com/github/xbn/io/PlainTextFileUtil.class
2014-12-11 12:51:40 .....         1656          871  com/github/xbn/io/PrintStreamForString.class
2014-12-11 12:51:40 .....          458          292  com/github/xbn/io/RTAccessDeniedException.class
2014-12-11 12:51:40 .....          450          288  com/github/xbn/io/RTEndOfFileException.class
2014-12-11 12:51:40 .....          458          288  com/github/xbn/io/RTFileNotFoundException.class

...

------------------- ----- ------------ ------------  ------------------------
                               1437122       545645  621 files, 49 folders

我还缺少什么?

\b': command not found /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/templatefeather-0.1.1.2.jar: line 7: f▒Ecom/github/aliteralmind/PK: No such file or directory /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/templatefeather-0.1.1.2.jar: line 7:

今天早些时候,我在 Windows 机器上通过 SFTP 成功执行了此操作。它非常慢,但它有效。在Ubuntu中直接执行这个需要做什么?

谢谢。


根据评论和回答更新

谢谢@Alex 和@ChrisStratton。再次使 jars 不可执行并使用冒号后,我不再收到乱码,但它仍然给我

Exception in thread "main" java.lang.NoClassDefFoundError: com/github/xbn/io/PlainTextFileUtil
at BuildPartFour.main(BuildPartFour.java:14)
Caused by: java.lang.ClassNotFoundException: com.github.xbn.io.PlainTextFileUtil`. 

这个class确实在罐子里:

z l /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)

Listing archive: /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar


--
Path = /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

Type = zip
Physical Size = 665303

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2014-12-11 12:52:24 D....            0            0  META-INF
2014-12-11 12:52:22 .....          103           90  META-INF/MANIFEST.MF
2014-12-11 12:51:40 D....            0            0  com
2014-12-11 12:51:40 D....            0            0  com/github
2014-12-11 12:51:52 D....            0            0  com/github/xbn

...

2014-12-11 12:51:40 .....         5523         2651  com/github/xbn/io/IOUtil.class
2014-12-11 12:51:40 .....         2483         1098  com/github/xbn/io/MultiTextAppender.class
2014-12-11 12:51:40 .....         2018          865  com/github/xbn/io/NewPrintWriterToFile.class
2014-12-11 12:51:40 .....         2497          927  com/github/xbn/io/NewTextAppenderFor.class
2014-12-11 12:51:40 .....         1687          685  com/github/xbn/io/NewTextAppenterFor.class
2014-12-11 12:51:40 .....         5655         2311  com/github/xbn/io/PathMustBe.class
2014-12-11 12:51:40 .....         2250          906  com/github/xbn/io/PlainTextFileUtil.class
2014-12-11 12:51:40 .....         1656          871  com/github/xbn/io/PrintStreamForString.class
2014-12-11 12:51:40 .....          458          292  com/github/xbn/io/RTAccessDeniedException.class
2014-12-11 12:51:40 .....          450          288  com/github/xbn/io/RTEndOfFileException.class
2014-12-11 12:51:40 .....          458          288  com/github/xbn/io/RTFileNotFoundException.class

...

------------------- ----- ------------ ------------  ------------------------
                               1437122       545645  621 files, 49 folders

我还缺少什么?

\b': command not found /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/templatefeather-0.1.1.2.jar: line 8: syntax error near unexpected token `

今天早些时候,我在 Windows 机器上通过 SFTP 成功执行了此操作。它非常慢,但它有效。在Ubuntu中直接执行这个需要做什么?

谢谢。


根据评论和回答更新

谢谢@Alex 和@ChrisStratton。再次使 jars 不可执行并使用冒号后,我不再收到乱码,但它仍然给我

Exception in thread "main" java.lang.NoClassDefFoundError: com/github/xbn/io/PlainTextFileUtil
at BuildPartFour.main(BuildPartFour.java:14)
Caused by: java.lang.ClassNotFoundException: com.github.xbn.io.PlainTextFileUtil`. 

这个class确实在罐子里:

z l /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)

Listing archive: /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar


--
Path = /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

Type = zip
Physical Size = 665303

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2014-12-11 12:52:24 D....            0            0  META-INF
2014-12-11 12:52:22 .....          103           90  META-INF/MANIFEST.MF
2014-12-11 12:51:40 D....            0            0  com
2014-12-11 12:51:40 D....            0            0  com/github
2014-12-11 12:51:52 D....            0            0  com/github/xbn

...

2014-12-11 12:51:40 .....         5523         2651  com/github/xbn/io/IOUtil.class
2014-12-11 12:51:40 .....         2483         1098  com/github/xbn/io/MultiTextAppender.class
2014-12-11 12:51:40 .....         2018          865  com/github/xbn/io/NewPrintWriterToFile.class
2014-12-11 12:51:40 .....         2497          927  com/github/xbn/io/NewTextAppenderFor.class
2014-12-11 12:51:40 .....         1687          685  com/github/xbn/io/NewTextAppenterFor.class
2014-12-11 12:51:40 .....         5655         2311  com/github/xbn/io/PathMustBe.class
2014-12-11 12:51:40 .....         2250          906  com/github/xbn/io/PlainTextFileUtil.class
2014-12-11 12:51:40 .....         1656          871  com/github/xbn/io/PrintStreamForString.class
2014-12-11 12:51:40 .....          458          292  com/github/xbn/io/RTAccessDeniedException.class
2014-12-11 12:51:40 .....          450          288  com/github/xbn/io/RTEndOfFileException.class
2014-12-11 12:51:40 .....          458          288  com/github/xbn/io/RTFileNotFoundException.class

...

------------------- ----- ------------ ------------  ------------------------
                               1437122       545645  621 files, 49 folders

我还缺少什么?

com/github/aliteralmind/templatefeather/PK[=15=]3[=15=]4'' /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/templatefeather-0.1.1.2.jar: line 8: |f▒E(com/github/aliteralmind/templatefeather/PK' /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar: line 1:

今天早些时候,我在 Windows 机器上通过 SFTP 成功执行了此操作。它非常慢,但它有效。在Ubuntu中直接执行这个需要做什么?

谢谢。


根据评论和回答更新

谢谢@Alex 和@ChrisStratton。再次使 jars 不可执行并使用冒号后,我不再收到乱码,但它仍然给我

Exception in thread "main" java.lang.NoClassDefFoundError: com/github/xbn/io/PlainTextFileUtil
at BuildPartFour.main(BuildPartFour.java:14)
Caused by: java.lang.ClassNotFoundException: com.github.xbn.io.PlainTextFileUtil`. 

这个class确实在罐子里:

z l /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)

Listing archive: /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar


--
Path = /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

Type = zip
Physical Size = 665303

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2014-12-11 12:52:24 D....            0            0  META-INF
2014-12-11 12:52:22 .....          103           90  META-INF/MANIFEST.MF
2014-12-11 12:51:40 D....            0            0  com
2014-12-11 12:51:40 D....            0            0  com/github
2014-12-11 12:51:52 D....            0            0  com/github/xbn

...

2014-12-11 12:51:40 .....         5523         2651  com/github/xbn/io/IOUtil.class
2014-12-11 12:51:40 .....         2483         1098  com/github/xbn/io/MultiTextAppender.class
2014-12-11 12:51:40 .....         2018          865  com/github/xbn/io/NewPrintWriterToFile.class
2014-12-11 12:51:40 .....         2497          927  com/github/xbn/io/NewTextAppenderFor.class
2014-12-11 12:51:40 .....         1687          685  com/github/xbn/io/NewTextAppenterFor.class
2014-12-11 12:51:40 .....         5655         2311  com/github/xbn/io/PathMustBe.class
2014-12-11 12:51:40 .....         2250          906  com/github/xbn/io/PlainTextFileUtil.class
2014-12-11 12:51:40 .....         1656          871  com/github/xbn/io/PrintStreamForString.class
2014-12-11 12:51:40 .....          458          292  com/github/xbn/io/RTAccessDeniedException.class
2014-12-11 12:51:40 .....          450          288  com/github/xbn/io/RTEndOfFileException.class
2014-12-11 12:51:40 .....          458          288  com/github/xbn/io/RTFileNotFoundException.class

...

------------------- ----- ------------ ------------  ------------------------
                               1437122       545645  621 files, 49 folders

我还缺少什么?

PK[=15=]3[=15=]4': command not found /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar: line 2:

今天早些时候,我在 Windows 机器上通过 SFTP 成功执行了此操作。它非常慢,但它有效。在Ubuntu中直接执行这个需要做什么?

谢谢。


根据评论和回答更新

谢谢@Alex 和@ChrisStratton。再次使 jars 不可执行并使用冒号后,我不再收到乱码,但它仍然给我

Exception in thread "main" java.lang.NoClassDefFoundError: com/github/xbn/io/PlainTextFileUtil
at BuildPartFour.main(BuildPartFour.java:14)
Caused by: java.lang.ClassNotFoundException: com.github.xbn.io.PlainTextFileUtil`. 

这个class确实在罐子里:

z l /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)

Listing archive: /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar


--
Path = /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

Type = zip
Physical Size = 665303

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2014-12-11 12:52:24 D....            0            0  META-INF
2014-12-11 12:52:22 .....          103           90  META-INF/MANIFEST.MF
2014-12-11 12:51:40 D....            0            0  com
2014-12-11 12:51:40 D....            0            0  com/github
2014-12-11 12:51:52 D....            0            0  com/github/xbn

...

2014-12-11 12:51:40 .....         5523         2651  com/github/xbn/io/IOUtil.class
2014-12-11 12:51:40 .....         2483         1098  com/github/xbn/io/MultiTextAppender.class
2014-12-11 12:51:40 .....         2018          865  com/github/xbn/io/NewPrintWriterToFile.class
2014-12-11 12:51:40 .....         2497          927  com/github/xbn/io/NewTextAppenderFor.class
2014-12-11 12:51:40 .....         1687          685  com/github/xbn/io/NewTextAppenterFor.class
2014-12-11 12:51:40 .....         5655         2311  com/github/xbn/io/PathMustBe.class
2014-12-11 12:51:40 .....         2250          906  com/github/xbn/io/PlainTextFileUtil.class
2014-12-11 12:51:40 .....         1656          871  com/github/xbn/io/PrintStreamForString.class
2014-12-11 12:51:40 .....          458          292  com/github/xbn/io/RTAccessDeniedException.class
2014-12-11 12:51:40 .....          450          288  com/github/xbn/io/RTEndOfFileException.class
2014-12-11 12:51:40 .....          458          288  com/github/xbn/io/RTFileNotFoundException.class

...

------------------- ----- ------------ ------------  ------------------------
                               1437122       545645  621 files, 49 folders

我还缺少什么?

\b4f3E': command not found /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar: line 3▒f▒E2▒f▒ZgMETA-INF/MANIFEK-*▒▒ϳR0▒3▒▒r▒Cq,HL▒HU▒%-▒Lx▒▒▒RKRSt▒*A▒▒▒ ▒͍t▒ M4▒▒sR▒▒: No such file or directory /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar: line 4:

今天早些时候,我在 Windows 机器上通过 SFTP 成功执行了此操作。它非常慢,但它有效。在Ubuntu中直接执行这个需要做什么?

谢谢。


根据评论和回答更新

谢谢@Alex 和@ChrisStratton。再次使 jars 不可执行并使用冒号后,我不再收到乱码,但它仍然给我

Exception in thread "main" java.lang.NoClassDefFoundError: com/github/xbn/io/PlainTextFileUtil
at BuildPartFour.main(BuildPartFour.java:14)
Caused by: java.lang.ClassNotFoundException: com.github.xbn.io.PlainTextFileUtil`. 

这个class确实在罐子里:

z l /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)

Listing archive: /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar


--
Path = /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

Type = zip
Physical Size = 665303

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2014-12-11 12:52:24 D....            0            0  META-INF
2014-12-11 12:52:22 .....          103           90  META-INF/MANIFEST.MF
2014-12-11 12:51:40 D....            0            0  com
2014-12-11 12:51:40 D....            0            0  com/github
2014-12-11 12:51:52 D....            0            0  com/github/xbn

...

2014-12-11 12:51:40 .....         5523         2651  com/github/xbn/io/IOUtil.class
2014-12-11 12:51:40 .....         2483         1098  com/github/xbn/io/MultiTextAppender.class
2014-12-11 12:51:40 .....         2018          865  com/github/xbn/io/NewPrintWriterToFile.class
2014-12-11 12:51:40 .....         2497          927  com/github/xbn/io/NewTextAppenderFor.class
2014-12-11 12:51:40 .....         1687          685  com/github/xbn/io/NewTextAppenterFor.class
2014-12-11 12:51:40 .....         5655         2311  com/github/xbn/io/PathMustBe.class
2014-12-11 12:51:40 .....         2250          906  com/github/xbn/io/PlainTextFileUtil.class
2014-12-11 12:51:40 .....         1656          871  com/github/xbn/io/PrintStreamForString.class
2014-12-11 12:51:40 .....          458          292  com/github/xbn/io/RTAccessDeniedException.class
2014-12-11 12:51:40 .....          450          288  com/github/xbn/io/RTEndOfFileException.class
2014-12-11 12:51:40 .....          458          288  com/github/xbn/io/RTFileNotFoundException.class

...

------------------- ----- ------------ ------------  ------------------------
                               1437122       545645  621 files, 49 folders

我还缺少什么?

232K025y1x1PK[=15=]3[=15=]4': command not found /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar: line 5:tf▒Ecom/PK: No such file or directory /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar: line 6:tf▒E com/github/PK: No such file or directory /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar: line 7:zf▒Ecom/github/xbn/PK: No such file or directory /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar: line 8:tf▒Ecom/github/xbn/analyze/PK: No such file or directory /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar: line 9: syntax error near unexpected token `

今天早些时候,我在 Windows 机器上通过 SFTP 成功执行了此操作。它非常慢,但它有效。在Ubuntu中直接执行这个需要做什么?

谢谢。


根据评论和回答更新

谢谢@Alex 和@ChrisStratton。再次使 jars 不可执行并使用冒号后,我不再收到乱码,但它仍然给我

Exception in thread "main" java.lang.NoClassDefFoundError: com/github/xbn/io/PlainTextFileUtil
at BuildPartFour.main(BuildPartFour.java:14)
Caused by: java.lang.ClassNotFoundException: com.github.xbn.io.PlainTextFileUtil`. 

这个class确实在罐子里:

z l /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)

Listing archive: /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar


--
Path = /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

Type = zip
Physical Size = 665303

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2014-12-11 12:52:24 D....            0            0  META-INF
2014-12-11 12:52:22 .....          103           90  META-INF/MANIFEST.MF
2014-12-11 12:51:40 D....            0            0  com
2014-12-11 12:51:40 D....            0            0  com/github
2014-12-11 12:51:52 D....            0            0  com/github/xbn

...

2014-12-11 12:51:40 .....         5523         2651  com/github/xbn/io/IOUtil.class
2014-12-11 12:51:40 .....         2483         1098  com/github/xbn/io/MultiTextAppender.class
2014-12-11 12:51:40 .....         2018          865  com/github/xbn/io/NewPrintWriterToFile.class
2014-12-11 12:51:40 .....         2497          927  com/github/xbn/io/NewTextAppenderFor.class
2014-12-11 12:51:40 .....         1687          685  com/github/xbn/io/NewTextAppenterFor.class
2014-12-11 12:51:40 .....         5655         2311  com/github/xbn/io/PathMustBe.class
2014-12-11 12:51:40 .....         2250          906  com/github/xbn/io/PlainTextFileUtil.class
2014-12-11 12:51:40 .....         1656          871  com/github/xbn/io/PrintStreamForString.class
2014-12-11 12:51:40 .....          458          292  com/github/xbn/io/RTAccessDeniedException.class
2014-12-11 12:51:40 .....          450          288  com/github/xbn/io/RTEndOfFileException.class
2014-12-11 12:51:40 .....          458          288  com/github/xbn/io/RTFileNotFoundException.class

...

------------------- ----- ------------ ------------  ------------------------
                               1437122       545645  621 files, 49 folders

我还缺少什么?

ʭ02A'' /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar: line 9:tf▒E▒U▒M_-com/github/xbn/analyze/AbstractAnalyzer.class▒▒yS▒@Ɵ▒j!(ʭ▒▒A' (djauth_venv)jeffy@originaldjangster:~/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build$ PuTTY

今天早些时候,我在 Windows 机器上通过 SFTP 成功执行了此操作。它非常慢,但它有效。在Ubuntu中直接执行这个需要做什么?

谢谢。


根据评论和回答更新

谢谢@Alex 和@ChrisStratton。再次使 jars 不可执行并使用冒号后,我不再收到乱码,但它仍然给我

Exception in thread "main" java.lang.NoClassDefFoundError: com/github/xbn/io/PlainTextFileUtil
at BuildPartFour.main(BuildPartFour.java:14)
Caused by: java.lang.ClassNotFoundException: com.github.xbn.io.PlainTextFileUtil`. 

这个class确实在罐子里:

z l /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)

Listing archive: /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar


--
Path = /home/jeffy/django_files/django_auth_lifecycle/non_django_files/wordpress_posts/build/dependency_jars/xbnjava-0.1.5.jar

Type = zip
Physical Size = 665303

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2014-12-11 12:52:24 D....            0            0  META-INF
2014-12-11 12:52:22 .....          103           90  META-INF/MANIFEST.MF
2014-12-11 12:51:40 D....            0            0  com
2014-12-11 12:51:40 D....            0            0  com/github
2014-12-11 12:51:52 D....            0            0  com/github/xbn

...

2014-12-11 12:51:40 .....         5523         2651  com/github/xbn/io/IOUtil.class
2014-12-11 12:51:40 .....         2483         1098  com/github/xbn/io/MultiTextAppender.class
2014-12-11 12:51:40 .....         2018          865  com/github/xbn/io/NewPrintWriterToFile.class
2014-12-11 12:51:40 .....         2497          927  com/github/xbn/io/NewTextAppenderFor.class
2014-12-11 12:51:40 .....         1687          685  com/github/xbn/io/NewTextAppenterFor.class
2014-12-11 12:51:40 .....         5655         2311  com/github/xbn/io/PathMustBe.class
2014-12-11 12:51:40 .....         2250          906  com/github/xbn/io/PlainTextFileUtil.class
2014-12-11 12:51:40 .....         1656          871  com/github/xbn/io/PrintStreamForString.class
2014-12-11 12:51:40 .....          458          292  com/github/xbn/io/RTAccessDeniedException.class
2014-12-11 12:51:40 .....          450          288  com/github/xbn/io/RTEndOfFileException.class
2014-12-11 12:51:40 .....          458          288  com/github/xbn/io/RTFileNotFoundException.class

...

------------------- ----- ------------ ------------  ------------------------
                               1437122       545645  621 files, 49 folders

我还缺少什么?

jar 文件不需要可执行

在 Windows 上,语义是

java -classpath somejar1.jar;somejar2.jar

但是在 *NIX 上,语义是

java -classpath somejar1.jar:somejar2.jar

*NIX 需要冒号 (:) 而不是分号 (;)。

更新

看起来你的命令结构不正确,你说你正在这样做:

java BuildPartFour -classpath (...)

我假设 BuildPartFour 是当前工作目录中的一个 .class 文件。这将导致 运行 您的 BuildPartFour class 将 -classpath (...) 作为参数传递给您的程序(这些将在 public static void main(String[] args) args 数组

中可见

应该是这样的:

java -classpath (...) BuildPartFour

一般的java命令结构是:

java [options] [class] [args]