Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 1 of 1

Thread: Invoking multiple instances of the JRE with different proxy settings?

  1. #1
    Junior Member
    Join Date
    Dec 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Invoking multiple instances of the JRE with different proxy settings?

    Just wondering, how do i run say x jar with certain a certain proxy configuration, and then run y jar with a different proxy configuration?

    *Edit, erm I figured it out, very sorry for this thread actually as it was right in front of me >.>

    *Edit actually no still having trouble, this is what I've tried via the command line:

    java -DproxySet=true -DproxyHost=127.0.0.1 -DproxyPort=4111 -jar MyJar.jar

    I'm tunneling through a ssh tunnel on my shell host, but it still tell's me that I'm connecting from my local machine and not the shell host
    Last edited by KiwiProg; January 17th, 2011 at 05:22 AM.


Similar Threads

  1. Multiple class instances ??? But how ???
    By dumb_terminal in forum Object Oriented Programming
    Replies: 6
    Last Post: December 2nd, 2010, 08:42 AM
  2. Replies: 0
    Last Post: December 1st, 2010, 06:10 AM
  3. [SOLVED] Array of objects, invoking constructor for one changes others
    By BigFoot13 in forum Object Oriented Programming
    Replies: 4
    Last Post: October 24th, 2010, 01:30 PM
  4. Multiple instances of linked list
    By thedolphin13 in forum What's Wrong With My Code?
    Replies: 5
    Last Post: October 11th, 2010, 07:48 PM
  5. get proxy settings from the default system browser
    By reguapo in forum Java Networking
    Replies: 0
    Last Post: January 15th, 2010, 08:43 AM