Carey Brown wrote:If this is your path to your project then you have a problem. A user should never put anything inside C:\Program Files.
C:\Program Files\Java\jdk-14.0.2\bin>java Buttons.java
On your command line, if you enter
java -version
what do you get?
Carey Brown wrote:I'm closing up shop here for the night.
You need to create a new directory for your Buttons project that is not inside C:\Program Files. For example make a Java folder then
C:\Java\Buttons
And put your source code in it
C:\Java\Buttons\Buttons.java
And compile it:
cd \Java\Buttons
javac Buttons.java
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |