Results 1 to 3 of 3

Thread: Setting Proxy

  1. #1
    Join Date
    Nov 2007
    Location
    USA Michigan
    Beans
    33
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Setting Proxy

    Can someone tell me how to set default proxy settings for java? Windows allows you to do this in control panel-java. Does Ubuntu have something similar? Its causing my java apps to time out and Firefox to freeze.

    Ubuntu 10.04

    java version "1.6.0_18"
    OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1)
    OpenJDK Server VM (build 14.0-b16, mixed mode)
    Ubuntu 9.04 X64, AMD 5000 BE, K9A2-Platinum, GTX260 - Dual Display.

  2. #2
    Join Date
    May 2007
    Location
    Poland
    Beans
    5
    Distro
    Kubuntu

    Re: Setting Proxy

    See the file /etc/java-6-openjdk/net.properties - you cna place the default values for http.proxyHost, http.proxyPort and other Java system properties over there.

    If you're not using the official Ubuntu's OpenJDK package, then /etc/java-6-openjdk may not be present.

    In such a case, net.properties will be present in the jre/lib subdirectory of your JDK installation.

  3. #3
    Join Date
    Oct 2009
    Location
    Elgin, IL USA
    Beans
    3,363
    Distro
    Ubuntu 16.10 Yakkety Yak

    Re: Setting Proxy

    I don't know about java in particular, but you can make general proxy settings in System > Preferences > Network Proxy. And you can set that "System Wide" (so it will work for all browsers, etc.).

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •