Win7 java environment variable configuration

clipboard.png
clipboard.png
I installed an installation-free version of jdk1.7;
does not have administrator privileges and cannot configure system environment variables, only user environment variables;
but why, after I have configured, execute java-version and javac-version, can correctly prompt version information;
but after compiling the java file, execute javac Puppy does prompt the following error Error: Could not find or load main class Puppy;
compiled code has no syntax errors and can be executed correctly in eclipse.

Mar.04,2021

Please connect this account. If you can't understand it, please refer to
https://stackoverflow.com/que.

.

Update:

I solved my problem with this answer, through java-cp. Puppy can execute the code correctly; the answer in the
screenshot is whether classpath unset, should set up classpath;
for someone like me who does not have administrator privileges, or must add-cp. to execute the code later. ?

when you encounter this problem, msdn is a good reference for documentation. setx : https://docs.microsoft.com/en. understand that it can permanently change the amount of the environment when it does not have the authority of a manager. The usage has

on the "joint" side.

I solved my problem with this answer, through java-cp. Puppy can execute the code correctly; the answer in the
screenshot is whether classpath unset, should set up classpath;
for someone like me who does not have administrator privileges, or must add-cp. to execute the code later. ?
@ FirstLove

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b40d4c-2bd9a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b40d4c-2bd9a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?