Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-23-2016, 02:04 PM   #1
LQ Newbie
Registered: Jan 2016
Posts: 1

Rep: Reputation: Disabled
Java applications with gui start really slow when connected to a wireless network

I hope that I chose the right forum for my question because I'm not entirely sure where it fits best as my problem is a bit... let's say interesting:

Whenever I start netbeans while I'm connected to a wireless network it starts really slow (it takes about 1 to 2 minutes).
When I'm not connected to the internet (or connected through another device like a usb modem or LAN) it starts within 5 to 10 seconds.

The same thing seems to happen with all java applications that have a gui.
Once the programs have started they run fast and I don't experience any difference no matter if I'm connected to a wireless network or not.

So far I have tried a few things including switching between OracleJDK and OpenJDK, reinstalling netbeans and setting the max ram to 8GB for the processes.
Unfortunately none of these actions have shown any positive effect.

At the moment I happen to be developing a somehow complex gui in java and it drives me crazy that I have to wait 15 to 30 seconds until it starts.

Can anyone help me with this one?

Here is some information I think is needed/useful:
My OS: Arch linux
Network management tool: NetworkManager
Wireless network device driver: ath9k

If you need any further information just ask.
Old 01-24-2016, 04:16 PM   #2
LQ Addict
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
it seems like most java apps (or maybe even the jdk itself) are doing internet trafficking.

maybe you can tell them, or java in general, to not connect to the internet via some config setting or preferences?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java (GUI) applications freeze/crash in -current hba Slackware 0 09-07-2015 08:45 PM
Best java ide for gui applications xiang83 Programming 3 01-27-2005 01:59 PM
Slow, slow KDE with network connected bglad Linux - Software 0 10-27-2004 10:54 AM
fc2-gnome : Applications dont start / very slow to start nox104 Linux - Software 0 08-18-2004 08:53 PM
Slow application loading when connected to network Sornen Linux - Networking 2 07-31-2003 06:15 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration