You must ensure that you add the location of your .class
file to your classpath. So, if its in the current folder, add .
to your classpath.
Note that the Windows classpath separator is a semi-colon, i.e. a ;
.
More Related Contents:
- Hadoop “Unable to load native-hadoop library for your platform” warning
- Running jmap getting Unable to open socket file
- How to set JAVA_HOME in Linux for all users
- How to stop java process gracefully?
- Growing resident memory usage (RSS) of Java Process
- Downloading Java JDK on Linux via wget is shown license page instead
- “No X11 DISPLAY variable” – what does it mean?
- React on global hotkey in a Java program on Windows/Linux/Mac?
- Java ProcessBuilder: Resultant Process Hangs
- SQL Server JDBC Error on Java 8: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption
- Technically what is the main difference between Oracle JDK and OpenJDK? [duplicate]
- JavaFX on Linux is showing a “Graphics Device initialization failed for : es2, sw”
- How to stop repeated keyPressed() / keyReleased() events in Swing
- Relation between memory host and memory arguments xms and xmx from Java
- Java Linux Terminal in JPanel
- Java Time Zone is messed up
- Java Refuses to Start – Could not reserve enough space for object heap
- Limit jvm process memory on ubuntu
- eclipse/tomcat: deploy doesn’t work any more (ClassNotFoundException)
- How to execute Python script from Java (via command line)?
- Java Can’t connect to X11 window server using ‘localhost:10.0’ as the value of the DISPLAY variable
- How to deal with LinkageErrors in Java?
- Where to store application data (non-user specific) on Linux
- Is there a quick way to delete a file from a Jar / war without having to extract the jar and recreate it?
- How do I run a spring boot executable jar in a Production environment?
- Getting unwanted characters when reading command output from SSH server using JSch
- How to find a Java thread running on Linux with ps -axl?
- Java is installed, in listing, but execution produces “./java: No such file or directory”
- problems with java3D lib configuration
- Why Maven uses JDK 1.6 but my java -version is 1.7