wood burning stoves 2.0*
The moose likes General Computing and the fly likes firewall and javaw.exe and jvm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "firewall and javaw.exe and jvm" Watch "firewall and javaw.exe and jvm" New topic

firewall and javaw.exe and jvm

Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820

When I write a java program that accesses the internet, my firewall will ask me if it is OK for javaw.exe to access the internet. once java has that permission, any java program seems to have the ability to access the internet. Is there a way to tell the firewall which specific java programs can access the internet, or do they all look the same to the firewall because they are running in a virtual machine?
Yaroslav Chinskiy
Ranch Hand

Joined: Jan 09, 2001
Posts: 147
They should all look the same to FW since they are the same. You exec. java code inside JVM and javaw.exe is the process name for OS.

Try to restrict by IP/URL. Or get a wrapper that will wrap java codein *.exe programm. There are a lot of those on sourceforge now.
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
What firewall are you running?

Moving this to the General Computing forum...

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820

zone alarm
I agree. Here's the link: http://aspose.com/file-tools
subject: firewall and javaw.exe and jvm
Similar Threads
Regarding preconfigured tomcat 6.0.16.
Viruses that block internet traffic
simple socket programming
Help Firewall in Java
javaw and javaw Detection from within Program