Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8445471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T09:40:10+00:00 2026-06-10T09:40:10+00:00

First, I would like to mention that I also had this problem when 2.2

  • 0

First, I would like to mention that I also had this problem when 2.2 was still beta (forced me to revert back to 2.1.1).

Installed JavaSE 7u6 today (comes bundled with JavaFX 2.2 stable). NetBeans was
able to automatically detect the Default JavaFX Platform.

Created a new JavaFX Application project (tried the FXML derivative with the same result as well). Tried this piece of code:

package javafxapplication;


import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import javafx.application.Application;
import javafx.stage.Stage;



public class JavaFXApplication extends Application 
{

    public static void main(String[] args) 
    {
        launch(args);
    }

    @Override
    public void start(Stage primaryStage) 
    {
        System.setProperty("socksProxyHost", "127.0.0.1");
        System.setProperty("socksProxyPort", "9050");

        try
        {
            URLConnection conn = new URL("http://www.wikipedia.org").openConnection();
            BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream()));

            String line;

            while ((line = br.readLine()) != null)
            {
                System.out.println(line);
            }
        }
        catch (Exception e) { e.printStackTrace(); }

        System.exit(0);
    }
}

And it works. Without spewing an error that no connection could be made due to bad socks proxy settings (there is nothing running on that port on my machine). These properties are silently ignored and the connection occurs directly. Is this a bug? I’ve tested this on 2 machines running Win7 x64. Does not happen on 2.1.1.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T09:40:12+00:00Added an answer on June 10, 2026 at 9:40 am

    JavaFX 2.2 introduced support for system proxy (see http://javafx-jira.kenai.com/browse/RT-21705).

    It may interfere with socks proxy settings. You can try remove your system proxy or try to add next to JVM options: -Djavafx.autoproxy.disable=true

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First I would like to say that I am new to this site, never
First off I would like to say that this is my first post and
Please take a look at this screenshot first: I would like to move the
I would first like to admit that I am an extremely novice developer, so
First off I would like to say that I think that my question may
First off, I would like to mention the question is a homework question. I
I would like to mention that i am new to EF. I am creating
Right first of I would like to thank everyone for helping me out on
I'm using : log_file = AWS::S3::Bucket.logs_for('downloads.idance.net').first I would then like to delete each file
I would like to display the first and last name of the authenticated user.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.