Answer the question
In order to leave comments, you need to log in
Why is the java code not running?
So so. I decided to raise the wtv server. It is written in java. Compiled and run on ubuntu. On windows it stubbornly gives an error "Error: Could not find or load main class net.volcore.wtvmaster.Main".
Answer the question
In order to leave comments, you need to log in
Procedure:
1. Find in which library (*.jar) the required class is located (net.volcore.wtvmaster.Main)
2. Check that this file is specified in the CLASSPATH list, which is used when starting the server.
The way CLASSPATH is formed can be different.
If the program is "tailored" for Unix/Linux systems, then there may be a problem with the CLASSPATH element separators.
On Linux/Unix, colon ":" is used as delimiter, and on windows, semicolon ";" is used.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question