NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

System.out.println() not working when using native packaging

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
Raposa



Joined: 07 Mar 2017
Posts: 1

PostPosted: Tue Mar 07, 2017 7:34 am    Post subject: System.out.println() not working when using native packaging Reply with quote

I am writing a JavaFX application which I deploy directly via Netbeans

(right click on project->package as->image only)

this works perfectly fine. Now I need to implement a command line interface with several parameters and of course I want a '-h' option that prints the help onto the command line.

I'm just using System.out.println(), nothing special.

This works totally fine as long as I do not deploy my code. Once I create the .exe file my output will no longer show any output on the console. Just pure blackness.

What is happening in the background when deploying and how is it possible to get my output to the console?

I'm using Netbeans 8.2 and Java8.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo