Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#Actualnico1991

Posted 23 April 2012 - 08:08 AM

i am using eclipse to make my first java script. .. the script i made look like this


public class hallo1 {
/**
  * @param args
  */
public static void main(String[] args) {
  // TODO Auto-generated method stub
System.out.print("Hello world");
}
}


it shows "hello world" in the console inside eclipse, so everything is fine there. im just wondering, how do i take it out of eclipse? (for future scripts) i have tried open it in java. but it closes really fast tryed to print screen to see what it said, and it said it couldnt find my file. i think i have heard i should save it as a jar file to see it? mby im wrong. please help if you can Posted Image  or mby just make it open my cmd? if thats possible.

#2nico1991

Posted 23 April 2012 - 08:08 AM

i am using eclipse to make my first java script. .. the script i made look like this


public class hallo1 {
/**
  * @param args
  */
public static void main(String[] args) {
  // TODO Auto-generated method stub
System.out.print("Hello world");
}
}


it shows "hello world" in the console inside eclipse, so everything is fine there. im just wondering, how do i take it out of eclipse? (for future scripts) i have tried open it in java. but it closes really fast tryed to print screen to see what it said, and it said it couldnt find my file. i think i have heard i should save it as a jar file to see it? mby im wrong. please help if you can Posted Image

#1nico1991

Posted 23 April 2012 - 08:05 AM

i am using eclipse to make my first java script. .. the script i made look like this

public


class hallo1 {


/**
*

@param args
*/

public static void main(String[] args) {

// TODO Auto-generated method stub
System.
out.print("Hello world");
}

}

it shows "hello world" in the console inside eclipse, so everything is fine there. im just wondering, how do i take it out of eclipse? (for future scripts) i have tried open it in java. but it closes really fast tryed to print screen to see what it said, and it said it couldnt find my file. i think i have heard i should save it as a jar file to see it? mby im wrong. please help if you can :D

PARTNERS