File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes java.io.Console try in Netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java.io.Console try in Netbeans" Watch "java.io.Console try in Netbeans" New topic
Author

java.io.Console try in Netbeans

Juan Manuel Alberto de los Santos
Ranch Hand

Joined: Jun 26, 2008
Posts: 48
Is there a way to try console scripts in NetBeans ?

i want to try this simple script in netbeans ... but, of course, i get "unable to obtain console"



thanks !
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42600
    
  65
I seem to recall that NetBeans will not provide a console. You can run it from the command line instead.


Ping & DNS - my free Android networking tools app
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39799
    
  28
This is a subject which comes up frequently; read the API for Console. This tells you that a console is available if you start an application from the command line. Lots of people get confused about that; as Ulf says, IDEs do not usually have a Console.
Juan Manuel Alberto de los Santos
Ranch Hand

Joined: Jun 26, 2008
Posts: 48
what a pain !

thanks
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39799
    
  28
Originally posted by Juan Manuel Alberto de los Santos:
what a pain !

thanks
Yes, a lot less useful than it appears at first sight!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.io.Console try in Netbeans