K
K
Kirill Zhilyaev2014-07-31 21:07:40
Java
Kirill Zhilyaev, 2014-07-31 21:07:40

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

1 answer(s)
E
Evgeny Khabarov, 2014-08-01
@kirill_782

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 question

Ask a Question

731 491 924 answers to any question