0

After successfully following along the instructions of the javalite example project (here), the command line returns:

Could not find or load main class activejdbc.examples.simple.Main

when trying to execute:

java -classpath target/dependency:target/classes activejdbc.examples.simple.Main

Maven: 3.6.0

Java: jre1.8.0_191, jdk1.8.0_201

Operating System: Windows 10 (64-bit). All commands were executed in folder simple-example-master.

Output of each command is here

AS Mackay
  • 2,831
  • 9
  • 19
  • 25
Moritz
  • 85
  • 9

1 Answers1

0

that command is good for Linux. On Windows, you need to use backslashes and smi-colon in place of a colon:

java -classpath target\dependency;target\classes activejdbc.examples.simple.Main 

I will update the docs

ipolevoy
  • 5,432
  • 2
  • 31
  • 46