probleme with JAVA .............. wen i compile in CMD hi say "Erreur : impossible de trouver ou charger la classe principale youtube" class apples { public static void main(string args []) { system.out.println("salem alikom"); } } ........................ Oo.....................
Are you following Bucky robert's video lectures? Those are excellent. Are you sure you installed Java properly? Try renaming your .java file into apples, or change the name of apples up there into youtube. In Java, the name of the .java file containing your main method must match the name of the class containing the main method.
oky i will try.... thanks
whats CMD? make error messages in english also it should be String instead of string and System instead of system because java is CaSe SeNsItIvE
He's following Bucky Robert's Java tutorials on youtube, and one of the first things in the tutorial involves installing Java and trying it out first on the console (instead of the eclispe IDE).
i never used eclipse :P so CMD is command line, ok but make errors in english anyway :D
tomas my win7 is in frensh lang ..... and bigener in java ... i study ENG ELECTRONIC and i have project i use java ..............
i think you can change language of java and at least translate it yourself into english
thanks guys i will try secand time..... and i will yous your advise
Join our real-time social learning platform and learn together with your friends!