Changing IP address

Is it possible to change your IP Address (not the one from the from your ISP, the one for your LAN found in TCP/IP) and Subnet Mask through java. I've looked at the .net package but did not find anything. Is it possible in Java?Thank you.
[253 byte] By [java4life87a] at [2007-11-27 7:52:06]
# 1
You mean the Java API.No.
jschella at 2007-7-12 19:33:19 > top of Java-index,Java Essentials,Java Programming...
# 2
I meant the java.net package.Ummm, is it possible through maybe an autoexec.bat file?Thanx
java4life87a at 2007-7-12 19:33:19 > top of Java-index,Java Essentials,Java Programming...
# 3

> I meant the java.net package.

Which is part of the Java API.

>

> Ummm, is it possible through maybe an autoexec.bat

> file?

Yes and no.

First unless you have a really old OS you don't have an "autoexec.bat". Although perhaps you are not aware of that history (if so don't name files that.)

There is probably some OS specific way to do it. How depends on the platform and version.

Once you have that then you can use one of the java exec() methods to run that command.

jschella at 2007-7-12 19:33:19 > top of Java-index,Java Essentials,Java Programming...