Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Compiling the Java code

The Java class defined above can now be simply compiled using the command

javac /myhome/jcitest/Hello.java


The call generates the Hello.class file in the /myhome/jcitest directory.

Calling

javap -s -cp /myhome/jcitest Hello

returns, among other things, the signature of the hello method:

public static void hello(java.lang.String);
descriptor: (Ljava/lang/String;)V