Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-19-2008, 07:28 PM
Member
 
Join Date: May 2008
Posts: 2
this_is_phil is on a distinguished road
Launching applications without an IDE
Hi, I started to learn Java just over a week ago using the Java for Dummies book. It provides a copy of JCreator which I have been using so far however the book makes no mention of running the applications that I write without using the IDE and other than creating applets. Can someone tell me how I would go about running an application without the use of the IDE?

Thanks in advance.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-19-2008, 07:47 PM
sukatoa's Avatar
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 527
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
You can start here...

Choose what platform are you using now...
If you don't know how to set classpath,
save your file inside the bin folder, compile and execute them there....
__________________
A specific, detailed, simple, well elaborated, and "tested before asking" question may gather more quick replies. hopefully
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 05-19-2008, 11:27 PM
Member
 
Join Date: May 2008
Posts: 2
this_is_phil is on a distinguished road
Thats fantastic thanks for your help.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 05-23-2008, 01:31 PM
Member
 
Join Date: May 2008
Posts: 17
greyhat is on a distinguished road
sukato is right. if you go in detail set the directory in command prompt in the bin folder and now copy your .java file there. then type in javac filename.java. this compiles the file and produces a .class file. next to run it type in java filename(no extension). and there you go!!!
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 05-23-2008, 01:32 PM
Member
 
Join Date: May 2008
Posts: 17
greyhat is on a distinguished road
sorry sukato i didnt see ur link
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 05-24-2008, 08:05 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,376
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Quote:
Originally Posted by greyhat View Post
sukato is right. if you go in detail set the directory in command prompt in the bin folder and now copy your .java file there. then type in javac filename.java. this compiles the file and produces a .class file. next to run it type in java filename(no extension). and there you go!!!
You have to think about the setting class path. Working in bin folder is not a best choice at all. Better to use separate working folder and set the class path for that working folder, and then use Java commands there.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 05-24-2008, 09:54 AM
sukatoa's Avatar
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 527
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
Quote:
Originally Posted by greyhat View Post
sorry sukato i didnt see ur link
The link is still alive, maybe at that moment their server was down....

try again....
__________________
A specific, detailed, simple, well elaborated, and "tested before asking" question may gather more quick replies. hopefully
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Launching Applet from a JSP page Java Tip Java Tips 0 01-31-2008 02:53 PM
Including JAR in applications bugger New To Java 0 01-11-2008 11:36 AM
Logging applications ravian New To Java 2 01-02-2008 08:43 PM
Concurrent Applications m@tqi Advanced Java 1 12-01-2007 02:09 AM
Launching imageJ using Java Web Start Petar Web Frameworks 0 07-30-2007 01:37 PM


All times are GMT +3. The time now is 11:53 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org