>Can someone tell me if they're a way to program the IP options in Java?
I don't know what you mean by the "IP options" but see
http://mindprod.com/jgloss/ip.html for code to do all the usual things
you do with IPs.

Signature
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.