Java, Software DevelopmentJava – How to pass argument string with spaces to Java The way you run your application in Java is by invoking java followed by the class name (without the .class extension).