• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to change ip address of my system through java program.  RSS feed

 
Ramakrishna Udupa
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I'm doing mini-crawler, for that I want to change my system ip address through java. I searched in google, but they dint explain the code. Code is



this is code is for "Code to Change Local IP Address". I dint get this. Is there any better way to do this?

Thanks:
Ramakrishna K.C
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That program is triggering the netsh command and documentation for that command is here http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/netsh.mspx
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!