D
D
dearname2015-02-23 12:59:12
Java
dearname, 2015-02-23 12:59:12

Running jar file via console?

I have a jar file of a program that I need to modify. The bottom line is, before editing the program, I decided to just run the jar file that they gave me. But through the console it does not give the following error: Error: Could not find or load main class ru.underwood.vog.tmanager.Launcher
I looked at the directory there is such a Launcher.class file in the manifest, it is also indicated. What could be wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
protven, 2015-02-23
@protven

Well, try to run like this
java -cp <your jar-nickname> ru.underwood.vog.tmanager.Launcher

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question