We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › Show Java Console in Windows Application
Page Index Toggle Pages: 1
Show Java Console in Windows Application (Read 2190 times)
Show Java Console in Windows Application
Jul 7th, 2009, 6:13pm
 
Hi, i am wanting to get at the windows equivalent of the console - to see my apps output (println/print statements, exceptions etc), when im running a standalone application (export to application)

I can work out how to turn it on for an applet/browser but not an application.

Any tips appreciated.

Setup:
* JRE 1.6.0_14 - Installed
* Processing 1.0.5 Standard (with JAVA) - Installed
* XP Pro - SP3

Ta,
Adam.
Re: Show Java Console in Windows Application
Reply #1 - Jul 7th, 2009, 11:11pm
 
Just start the application from the command line?
It works at least with java -jar foo.jar c.p.ClassName
Not sure for .exe generated by Processing. You can use a logger too.
Re: Show Java Console in Windows Application
Reply #2 - Jul 11th, 2009, 11:36pm
 
Thanks for that.  Am having some trouble with the classpath arg, but will persevere.
Re: Show Java Console in Windows Application
Reply #3 - Jul 12th, 2009, 5:38am
 
An easy way is to use -Djava.ext.dirs=<path to Processing libs> as Java will include recursively all classes it will find there.
Page Index Toggle Pages: 1