SUBLIME TEXT 3 JAVA BUILD RESULT NOT WORKING -
i have problem in sublime text 3. after successful build not getting output . build result not working hello world java program , no output please me enter image description here
import java.io.*; class h{ public static void main(string args[]){ system.out.println("hello world"); }}
building means have program. in order output, have run it. run it, find h.class file , run:
java h
this should print message you're looking for.
also if you're having sort of basic problem, helps narrow things down figure out problem coming from. example have first tried without using sublime text @ all, this:
$ javac h.java (nothing printed should have h.class file) $ java h hello world
if nothing else, make better stackoverflow question.
Comments
Post a Comment