Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting up multiple environmental variables

I already have a variable named PATH set for my .net 4 framework. I want to set up a variable for JAVA but when i use a variable-name other than PATH it doesn't get Java working and if i change default .net variable name PATH to something else .net framework gives problem. Whats' the solution?

Regards, Sanket

like image 667
Sanket Avatar asked Mar 25 '26 20:03

Sanket


1 Answers

(From comment above)

You could always set the variables inside a launch script. I'm confused why you need different PATH values for running .NET and Java though. Your PATH usually tells the OS where to look for executables to run. If that's really what you're changing, then you should just take the union of the two. On Windows you just separate each path in the PATH with a semicolon.

like image 185
DaoWen Avatar answered Mar 28 '26 10:03

DaoWen



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!