Closed MungTheWicked closed 7 years ago
Hello,
the given command did not work for me in Windows (Console2 app). I had to add "\" after "dependency". Corrected version:
java -classpath "target\classes;target\dependency*" com.kumuluz.ee.EeApplication
EDIT: You have to put double '\' before the '*' to output one '\' (so your original post is fine, just the output came out without a '\')
This one works for me in the windows platform.
First open two terminals Second go to your workspace path: C:\workspace\kumuluzee-example-master> in both terminals
In first command terminal, give below commands: set PORT=3000 java -cp catalogue/target/classes;catalogue/target/dependency/* com.kumuluz.ee.EeApplication
In second command terminal, give below commands: set PORT=3001 java -cp orders/target/classes;orders/target/dependency/* com.kumuluz.ee.EeApplication
Check out the ";" in between two given paths, in *IX system give ":" .
Please look at the KumuluzEE Samples: https://github.com/kumuluz/kumuluzee-samples They include Windows commands.
It would be very helpful for the Getting Started guide to have the following Windows syntax for running jar files specified alongside the Linux/UNIX syntax:
java -classpath "target\classes;target\dependency*" com.kumuluz.ee.EeApplication
I just verified that the command works.