Enbed java firewall into Windows NT

Hi
I am doing a project and going to create a firewall using Java. After that I have to run the firewall in Windows NT platform. Is there anyone who knows what I need to do to enbed the Java firewall into a NT platform? Thanks a lot.

Why do you have to post the same question 3 times?
http://forum.java.sun.com/thread.jspa?threadID=652296&messageID=3834871#3834871
http://forum.java.sun.com/thread.jspa?threadID=652295&messageID=3834868#3834868
http://forum.java.sun.com/thread.jspa?threadID=620790&messageID=3498334#3498334

Similar Messages

  • How to create java files into windows applications i,e. exe files

    I been trying to convert my java files to exe files, but i have been reading a lot of webpages speaking of writing a code in c++ source code,
    any easier way to do it.

    Add your java compiler to the windows path.
    Hie thee to a run terminal! Enter
    javac filename.java
    then enter
    java filename
    And your program will work.I believe the OP is rather about creating a windows executable out of his application (jar).
    @OP If there is an easier way to do this, i must have missed it. Haven't searched thoroughly though. Gave it up as it looked complicated enough.

  • Move Java Frame into Windows taskbar notification area (system tray)?

    Hi,
    I was wondering if anyone has written a service-like application in Java running (and appearing) in the Windows "taskbar notification area", instead of running in the convential Windows taskbar.
    I'm able to add an icon to the taskbar notification area (frequently errorneous called as the 'system tray') by using some native code that uses win32 Shell_NotifyIcon(.. , ..). However, I'm not able to 'couple' the window (i.e. the Java frame) to the new icon in the taskbar.
    My icon is shown in the area AND the frame is shown as an application in the taskbar... I would like to 'remove' my Java application from the taskbar and place it 'as an icon' in the taskbar notification area.
    Has anyone had experience with a similar problem?
    Many thanks!
    Jasper

    If all you need is to make the frame not visible in the taskbar as well than why don't you activate the hide() method? cature the minimize event and activate the frame.hide(); method. And in the system tray make the frame visible by frame.show();

  • Compiling JAVA into Windows .exe files

    Hi,
    Here's an easy question - how do you compile JAVA source into Windows .exe files (as opposed to class files with bytecode in them). I imagine there is a third-party product out there somewhere?

    A Bayesian network is a mathematical representation of logical inference.
    A very simple example has two nodes: "has tail" and "is horse", connected by a single link. If we know "is horse" is true, then it nearly always follows that "has tail" is also true. This is called modus ponens in logic. If we know "has tail" is true, then "is horse" might be true, but it might not. To infer that "is horse" is true in such a case is to commit what is called the fallacy of affirming the consequent, in logic. However, using Bayes' theorem, which would require that we know some general information about the prevelance of horses among tailed animals, and the general prevalence of horses among things in general, we can measure the exact increase in the probability that "is horse" is true that results from our knowing "has tail" to be true.
    For more information, see http://www.bayesian.org
    The classic book on the subject is Judea Pearl, Probabilistic Reasoning in Intelligent Systems.

  • Java Firewall

    Hi all,
    I have very recently begun using java as a development package, and I love the network capability that it has. It makes it quite a bit easier to make a network application, and implement it.
    Something I would like to try would be to make a fairly simple firewall. For instance, when a user inside the network wants to make a connection, it would forward it through to the outside world, and keep the thread open to allow communication back to the host. If the outside world tried getting in, it would reject the host unless is met specific requirements (right port, etc).
    Three questions I have:
    1. Is this possible? I mean, it seems possible, but would there be a problem with the data, even if I used very basic I/O streams and such? Or would there be problems because of the vast number of protocols and such?
    2. How can I differentiate between 2 NICs? On my existing firewall, I'd have eth0 and eth1 for my internet and local net Ethernet cards. How would java know which is which? Creating a server socket is simple, but how do I tell it which interface to listen on?
    3. Obviously a firewall would need to listen to all incoming and outgoing ports. Do I seriously need to make 65535 threads to have a server socket listen on every port? I would hope there is a more simple way, but I'm just not finding it anywhere.

    It's possible to write a proxy. Taht said, this is
    not really a very good first java network assignment
    as java network access is quite high level, and this
    is a complex project.As far as having the knowledge behind it, that is not
    a problem. This isn't really a school project per-say.
    I am persuing a degree as a networking specialist, so
    network addressing and protocols is not an issue. It
    is simply taking that understanding and putting it
    into (java) words.
    In combination to that, I have a decent programming
    background, just not much in java. I hope to learn
    quickly, and this is more like a final goal. Java
    seems like the perfect language to compliment an
    understanding of a network infrastructure.Your OP didn't specify a level of knowledge other than that you were new to java. I assumed you had quite a bit of network experience to even consider just a project.
    The 2 NIC have different IP addresses, when creatinga
    ServerSocket you can specify the ip address as wellas
    the port,Makes sense, I guess, but I was more or less hoping to
    have it dynamic. If I ever want to change the address
    or move this to another system, I wouldn't want to
    have to recompile with the new address. This could
    easily be solved with a textbox to input the addresses
    though, so it's not a big deal.You could use a Runtime.exec() call to run a command such as ipconfig on windows or ifconfig -a on unix to get that info.
    I believe there is no way to do this, a port of 0
    means to use an ephemeral port.If this is not possible, then I would think a java
    firewall is not possible. Yes, when I said it requests an ephemeral port I meant that you can't do what you want.
    Granted, maybe I am just not
    understanding the software end of it, but a packet
    sniffer, like Ethereal, is able to see all data
    passing through, and I doubt it has 65k threads per
    protocol to listen. Is there a way to have the program
    see all data hitting it's NIC?Java definitely cannot listen to packets in promiscuous mode. There is a package called JPCap that provides packet capture using JNI.
    I am not sure where an ephemeral port would solve
    this. Granted, it would help with the internals of the
    program, passing data from eth0 to eth1, but how would
    this solve the problem of knowing with port to recieve
    data on eth0?
    Thanks again!You're welcome, and good luck

  • I have disabled all Kaspersky security, windows firewall and windows defender and Itunes still will not update my Ipod touch 4th gen to IOS 5, Helppppp!

    I can't get the IOS 5 to work for windows Vista.  I'm running kaspersky pure 2.0, windows firewall and windows defender.  I have turned them all off, I then attach my Ipod 4th gen and I get the "cannot connect to itunes update server".  I ran diagnostics in itunes and it tells me I dont have a internet connection.  I'm on the internet right now, and I DO have a internet connection, but it tells me Itunes says otherwise.  I'm able to send this message on the same pc with internet connection but keep running into this error.  I have now read discussiong boards through apple and disabled all my firewalls, still no luck.  I was able to update the lates version of itunes, and just waiting to get my ipod updated now, please help me.

    On the computer you should be able to go to the network properites. Go to the TCP part and unchec the line that says obtaind DNS automatically and check the one that says use the following. Add the 8.8.8.8 and Google other 8.8.4.4.
    For more info see:
    https://developers.google.com/speed/public-dns/

  • How do you turn java code into an .exe or etc...

    I can't seem to figure out how to turn my java code into an executable in windows so that it runs by itself without a comipler, can someone help? (without using visual J++).

    I can't seem to figure out how to turn my java code
    into an executable in windows so that it runs by
    itself without a comipler, can someone help? (without
    using visual J++).I saw a tutorial on that, you might want to check it out.
    http://developer.java.sun.com/developer/onlineTraining/new2java/divelog/?frontpage-headlinesfeatures

  • Problem with Java scrolling text window on Mac OS

    The Java scrolling text window created by AWT "TextArea" scrolls in the normal way from the top on Windows, whereas it scrolls from the bottom on the Mac OS. That is, the text file is first displayed from the bottom on Mac, so that the user has to scroll to the top of the file each time a new page is opened, which is a very nuisance. Have you run into this problem and do you know how to over-ride the Mac OS default? Many thanks.

    TextAreas suck in general, this has been discussed many time in the forum. As a duct-tape fix, you might play around with setCaretPosition() after inserting your new text. Good luck

  • Can I run my java program in windows environment?

    How can i make my compiled java program run into windows environment?
    What program will i use to be able to do that?

    1. Install the JRE.
    2. Go to the command line.
    3. Type something like java myClass or java -jar myJar.jar.
    You could also use one of the many java2exe (java to executable) programs floating out there.

  • Using java to retrieve windows password

    Is there any way to get Java to retrieve the windows password?

    Diablo_Chiru wrote:
    how can i capture this into a string variable? can u explain it in briefLet me make a drawing for you:
    +--------------------------------------------------+
    | If it were possible to just get the password of  |
    | a Windows user account through a couple of lines |
    | of Java code, would Windows be used nowadays?    |
    +---------+-------------------------------+--------+
              |                               |
              |                               |
            +-+--+                         +--+--+
            | NO |                         | YES |
            +-+--+                         +--+--+
              |                               |
              |                               |
    +---------+--------------+          +-----+------+
    | Is Windows used at the |          | Try again! |
    | time of this writing?  |          +------------+
    +---+-------------+------+
        |             |
        |             |
      +-+--+       +--+--+
      | NO |       | YES |
      +-+--+       +--+--+
        |             |
        |             |
        |     +-------+----------------------+
        |     | Then it is safe to conclude  |
        |     | that there is no easy way to |
        |     | get the password(s)          |
        |     +------------------------------+
        |
        |
    +---+-----------------------+
    | Then why do you need this |
    | functionality if Windows  |
    | is not being used?        |
    +---------------------------+

  • JavaService - can install java program into win2k service, but cannot run

    i have a JavaService problem: i can install java program into win2k service, but cannot run
    the version of javaservice is 2.0.7.0
    the following is the message:
    C:\DailyUpdate\dist>JavaService.exe -install DailyUpdate C:\Program Files\Java\j
    dk1.5.0_05\jre\bin\client\jvm.dll -Djava.class.path=C:\DailyUpdate\dist\ftpbean.
    jar;C:\DailyUpdate\dist\mysql-connector-java-3.0.10-stable-bin.jar;C:\DailyUpdat
    e\dist\DailyUpdater.jar -Xms16M -Xmx64M -start DailyUpdateHandler -params C:\Dai
    lyUpdate\dist -out C:\DailyUpdate\dist\logs\out.log -err C:\DailyUpdate\dist\lo
    gs\err.log
    The DailyUpdate automatic service was successfully installed
    The DailyUpdate service is starting.
    The DailyUpdate service could not be started.
    The service did not report an error.
    More help is available by typing NET HELPMSG 3534.

    I might be doing some programming for my company soon
    which will require a program to monitor a database
    and whenever there is a change to certain fields, it
    must copy certain fields into another database. When I see "whenever thiere is a change to certain fields" I tend to think "triggers" - but maybe this won't work for you 'cause of the "another database" part. And the fact that triggers are inherently evil.
    [snip]
    Is it possible to run a Java program as a windows
    service? And if so then how would you go about it? I'd hit Google - there're a couple ways to do this.
    [snip]
    Also,...if I were to use one of those programs which
    can make an .exe of a Java program, then do you still
    require the JRE to be on the machine? It depends on how you did the conversion. If you compile to native then no, if you just wrap up a JRE then yes.
    Why I ask is
    that I occasionally get asked to do small development
    projects for my company, but we are a microsoft
    partner and therefore do all the development in C#
    and the like. So I would like to just implement as
    many things in Java as I can, just to show everyone
    that Java can do exactly what C# can do. But its
    difficult to convince people of this since I always
    require the JRE and they dont. Of course, they require the .NET framework and you don't. And last I looked that thing was around 23 Meg.

  • Can we change the title of "Java Web Start" window?

    Hi while running our application into "Java Web Start" using jnlp configuration file, may I know how to change the title of Java Web Start Window.
    At present it show the title like "Java Web Start" I want to customize, is it possible? , How?

    As far as I know this is not possible. You can customize the splash window displayed with the jnlp how your told, but the title of the window cannot be changed.
    Edited by: Phlipp_Meier on Oct 5, 2007 6:14 AM

  • Putting Java app in Windows tray as an icon?

    Is this possible? IS thre a "free" library or API, presumably using JNI, to turn a java app into a windows tray icon so that it isn't in the task bar, only in the tray icon (or both), and when clicked on can open it up as well as provide a context menu?
    Thanks.

    This question is asked a lot.
    Type a few keywords in the search panel and you are lucky.
    Note: this works with google too, I found a solution just by asking google for it.
    Maybe this is helpful though:
    http://www.amherst.edu/~tliron/jni/DesktopIndicator/DesktopIndicator.html

  • Turning a Java applett into a  *.exe

    How do you turn a Java applett into an *.exe?

    Have a look at http://gcc.gnu.org/java/. Its not complete, and I've never tried it on Windows, but it kinda works for linux.
    The other thing you could do is create a C/C++ wrapper that starts a JVM and runs your main class. http://www.kcmultimedia.com/javaserv/ has some GPL code for doing this for an NT service, but the principle is the same for non-service apps.

  • Java installer in Windows Vista: error 1721

    Hi,
    I cant install java SE in Windows Vista. I get always this error:
    error 1721. There is a probleme with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor.
    Anyone knows how I can solve it? I tryed with other java versions but I get the same error.
    Thanks in advance.

    If all else fails, your Vista could just be screwy.
    If you're willing to go that far, and you've exhausted all other options, you could try reformatting and reinstalling Vista. (Or even XP, since it's way more stable. :D)
    At any rate, this doesn't seem to be the file's problem, as plenty of people have gotten it working.
    Have you installed any ... "distasteful" software on your computer, or tweaked stuff like a hardcore techie? Because it's quite easy to screw with Windows. :)

Maybe you are looking for

  • Training and Event Management Calendar in Portal iView

    Has anyone implemented Training and Event management in the portal and if so, how did you develop the Calendar iView?  Did you use WebDynpro, .NET, or some other method? Your assistance is appreciated. Thanks, Donna Maupin

  • Regarding the process flow of project system

    Dear Sapgurus, I am working new ps project in our client place . The process which i mentioned for a ps flow is sales enquiry, design approval, procurement, production, deliveryetc apart from this anything i mention so i request anybody to suggest th

  • Reinstall acrobat 9.0 win

    installed w-7 and lost acrobat 9 9.0win.  Have key but no disk.  How I reinstall?

  • Photoshop crashes and bugs

    Dear Adobe, I have been using a lot your products professionally for several years now. Overall great products. However - with the release of CS6 photoshop have seemed to become enormously unstable and keeps crashing. And more and more bugs seem to c

  • Moving keyframes around in motion tween?

    Hi In Flash CS5, after you've inserted a keyframe in a motion tween, how do you move that keyframe to another frame? Cheers Shaun