Results 1 to 2 of 2
  1. #1
    Albert is offline Senior Member
    Join Date
    Jun 2007
    Posts
    114
    Rep Power
    0

    Default java Sample 77 3 when using Eclipse

    If you use the command-line environment to compile and run a java program called Sample.java instead of using Eclipse, you could compile by writing "java Sample 30 5" or replace the 30 and 5 with other numbers (lets suppose the Sample.java needs 2 int inputs).
    How would you do the equivalent of that when using Eclipse?

    Thanks!
    Albert:rolleyes:

  2. #2
    Marcus is offline Member
    Join Date
    Jun 2007
    Posts
    92
    Rep Power
    0

    Default

    How about running the following command

    javac *.java

    Yup..it would compile any java source in that directory.

    Please check this

    Greetings
    Marcus:cool:

Similar Threads

  1. Sample Spring Application
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-29-2008, 01:41 PM
  2. Sample ANT Script
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-24-2008, 04:22 PM
  3. Sample Session Beans
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-29-2007, 05:53 PM
  4. Sample Entity Bean
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-28-2007, 11:41 AM
  5. A Sample spring Application
    By JavaBean in forum Java Tip
    Replies: 0
    Last Post: 09-26-2007, 09:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •