Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where is the dos window??

 
Ronnie Phelps
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to view standard output from my application. How or where can I view this without the dos window when using Java Web start?
 
Chantal Ackermann
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
start the JavaWebStart Administration UI by calling the javaws executable file (there is only one "javaws" executable in the JWS installation directory). this will start the admin gui.
File -> Preferences -> Advanced (or something like that).
make sure that the checkbox "show java console" is checked. you can decide to log to a file, as well.
Chantal
 
Ronnie Phelps
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried that but thought there should be another way because the window isn't allways visible. I guess the logging should be okay for now but is there a way to have the logging directory predefined without having to modify the clients preferences?
 
Ronnie Phelps
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried that but thought there should be another way because the window isn't allways visible. I guess the logging should be okay for now but is there a way to have the l
 
Chantal Ackermann
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Certainly, you can do you're own logging in your application. you can either use the logging API from 1.4 (java.util.logging), or log4j, or write your own logger classes, or...
In any case, this would be independent of JavaWebStart. You should do that anyway, no matter in what way you are deploying your app.
chantal
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic