kumuluz / kumuluzee

Lightweight open-source framework for developing microservices using standard Java EE technologies and migrating Java EE to cloud-native architecture.
https://ee.kumuluz.com
MIT License
291 stars 71 forks source link

Getting Started needs command for Windows #16

Closed MungTheWicked closed 7 years ago

MungTheWicked commented 8 years ago

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.

blaz1 commented 8 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 '\')

ghost commented 7 years ago

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 ":" .

MBJuric commented 7 years ago

Please look at the KumuluzEE Samples: https://github.com/kumuluz/kumuluzee-samples They include Windows commands.