简体   繁体   中英

jar file made in ubuntu does not work in windows

I wrote a code in Windows using Eclipse. The code used JUnit. I converted it to a .jar file Ubuntu. However, when I try to open the .jar file in Windows in Eclipse, the code does not open. Instead of code, I see some random characters in Eclipse.

JAR 文件是已编译的 java 文件 (.class) 的集合,如果您希望源代码在 eclipse 中打开,只需复制 .java 文件

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM