Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to run code in netbeans

 
Punit Jain
Ranch Hand
Posts: 1012
2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:System.out.println prints to system out which is a console or log file somewhere on your server. It is not the browser.

Also note that it is traditional for class names to begin with an uppercase letter in Java.


Thanks for your guidance, again here is a java code to retrieve data from database:




i want to use this code using netbeans, i add a class file into my project, and than how can i call that class file??
in simple words: how can i run this code using netbeans??

Thanks in advance.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should be able to right-click the .java source file and select Run File.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic