Ask Your Question

how to run java program in fedora 15

asked 2012-12-26 10:25:59 -0500

Suman Das gravatar image

updated 2013-06-07 06:25:27 -0500

I have written the java program and then changed the executing permission of the java file. Now I am running the program using the follwing command but error comes :

$ javac package sustem does not exist
                    sustem.out.println("The sum is :"+s );
1 error

if anyone able then please help me.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-06-07 06:27:07 -0500

Well, javac is telling you what the problem is: package sustem does not exist.

It even tells you that the problem is on line 8.

I believe this is a typo, and you meant to use the system package, not sustem. ;)

edit flag offensive delete link more


Its also supposed to be a big s. But yes, I believe a typo is to blame here. :)

subfusc gravatar imagesubfusc ( 2013-06-09 08:04:35 -0500 )edit

Question Tools


Asked: 2012-12-26 10:25:59 -0500

Seen: 1,395 times

Last updated: Jun 07 '13