开发者

Test a java class in different OS

开发者 https://www.devze.com 2023-04-03 07:30 出处:网络
I wanted to test my java code in these operating systems- Solaris,HPUX and AIX. I know they have different meth开发者_如何学Pythonods to test the java code.

I wanted to test my java code in these operating systems- Solaris,HPUX and AIX. I know they have different meth开发者_如何学Pythonods to test the java code. How do i do that?Also,should i copy my entire java project in each of the operating systems?


I would package up your project e.g. mvn package whether you run it on one more more OSes. The main difference between OSes is that the CLASSPATH needs a ; on Windows and a : on Unix. Otherwise, the way you test it should be exactly the same.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号