Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set PATH to use Java and Python simultaneously

I was just wondering if there was any way to set to %PATH% variables so I can compile my Java code, along with my Python code?

For instance.. PATH is currently C:\ ... JDK_bin blah blah, and that's it. To run my python code, I have to change my path variable completely.

Any answers?

like image 537
Jordan Alexander Avatar asked Dec 01 '25 08:12

Jordan Alexander


1 Answers

Just add a semicolon after your present path, and write the new one after that.

set PATH="C:\Program Files\Java\blah\blah";C:\Python31\;C:\Windows\System32

etc...

like image 129
Tim Pietzcker Avatar answered Dec 03 '25 23:12

Tim Pietzcker



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!