Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Convert unix java cmd line arg to windows

I am trying to convert the below unix cmd line arg to windows:

java -Xms5g -Xmx20g -XX:MaxPermSize=5g -classpath "/home/user/software/client/lib/*:/home/user/software/client/resources" com.perf.startup.Tool -user admin -password password123 -env testEnv 

I have tried this for Windows:

java -Xms5g -Xmx20g -XX:MaxPermSize=5g -cp "C:\user\software\client\lib\*" "C:\user\software\resources" com.perf.startup.Tool -user admin -password password123 -env testEnv

However I get this Error:

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Error: Could not find or load main class C:\user\software\resources

What is the reason for this error? The paths are all correct.

>Solution :

try

java -Xms5g -Xmx20g -XX:MaxPermSize=5g -cp "C:\user\software\client\lib\*;C:\user\software\resources" com.perf.startup.Tool -user admin -password password123 -env testEnv
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading