简体   繁体   English

如何查看Jar文件的输出?

[英]How can I see the output from my Jar file?

I make a jar. 我做一个罐子。 I wrote in System.out.println("my output"); 我写在System.out.println("my output"); And when I run the app in netbeans I can see the outputs but When I compile my jar file I run the app on command line I cant see the outputs. 当我在netbeans中运行该应用程序时,我可以看到输出,但是当我编译jar文件时,我在命令行上运行该应用程序,则看不到输出。 How can I fix this? 我怎样才能解决这个问题?

java - jar myapp.jar正在运行

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何构建我的jar文件,以便使用该库的用户能够在Eclipse中看到javadoc - How can I build my jar file so that users who use the library will be able to see the javadoc in Eclipse 如何从主Java应用程序运行jar文件? jar文件必须在我的Java项目中 - How can I run a jar file from my main Java app? Where jar file must be in my Java project 在 jar 文件中时,如何 output 随机图像? - How can I output a random image when in a jar file? 我如何从我的java .jar文件创建可执行的apple .app文件? - How can i create executable apple .app file from my java .jar file? 如何通过运行jar / exe文件在命令提示符下查看输出? - How to see output on command prompt by running a jar/exe file? 如何从JAR文件检索Java源代码? - How can I retrieve my Java source code from a JAR file? 如何从我的 jar 文件中获取资源“文件夹”? - How can I get a resource "Folder" from inside my jar File? How can I package a maven jar and output multiple copies of the resulting JAR file to different folders? - How can I package a maven jar and output multiple copies of the resulting JAR file to different folders? 如何将这个.jar文件发送给我的朋友? - How can I send my friend this .jar file? 我如何在我的jar中获取.txt文件? - How can i get .txt file in my jar?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM