Installing a Java Application under  Win2000

Hi,
I would like to automate the installation of a Java Application under Windows 2000, so that the user is prompted for a destination folder and the application appears in his Start->Games folder.
Shoud I use install Shield or can I use something java based for this purpose. In any case can you point me to material on the web that discuss these types of topics.
Thanks.

ZeroG software has a great Installer for Java. It creates installers for Unix, Windows, MacOS and others. http://www.zerog.com.
They have a free installer also; its light on features but has worked really well for us for simple gui apps.
- Chris

Similar Messages

  • Compile and run  applications under win2000

    Hi, everyone!
    im a newbie in java. can anyone tell me how to compile and run java
    applicaions under win2000 enviroment. all my applications are saved in
    floppy disk.
    thanks!

    Install J2SE 1.4, and add c:\'Java directory path'\bin to your system path (right click 'My Computer', 'Properties', 'Advanced', 'Environment Variables')
    go to your favorite text editor, load up the java files from your disks, compile them by typing "javac nameofJavafile.java", and then "java nameofJavafile" to run the program.

  • Java applications under Linux

    Hello all
    I want to share my experience with all about programs generated by Oracle Forms and running under Linux and ask for help.
    We are developing systems under Oracle Forms to Windows, but some customers had restrictions with that operational system, then we had implemented IAS to run, under Java, the same applications.
    Under Windows we have no problems, we just install JInitiator to made fast to charge/open the classes.
    Under Linux we had not JInitiator and the solution is to implement a Proxy server.
    In this test the first problem we had was a IP that the system can not resolve, looking for the solution on web, we found that it´s solved inserting this line in java.policy:
    permission java.net.SocketPermission "200.204.0.1:9000-", "resolve";
    But we had not to implemented the proxy server, after implement this other problem just stuck us.
    The system just not show any error message and are not hang, but never open de login dialog.
    Some one already had this kind of problem?
    Could exist a difference between Linux configuration and Windows configuration to Java?
    Well, thanks in advance...
    []´s
    Arthur

    javac -classpath logger.jar:. rootPackage/MainClass.java
    java -classpath logger.jar:. rootPackage.MainClass

  • Installing a java application

    Hi all!
    I have just finished my Java program and would like to deploy it to others. Have someone some experience in installers?
    I have my java code in a nice jar file and some other files needed (images, sounds, configfiles...) and would like to find a program that could create an install file (.exe) that I can send to friends. This install program should create a .exe file of my application that my friends can double click on to start. It doesn't mather if it includes the JVM or if it compiles it (removes cross-platform ability). Is this possible? I have seen a program called InstallWiz Pro, does anyone know if this program can do this?
    All pointers and tips are appreciated!
    // Andreas

    you can you the install AnyWhere tool also.
    This require license, however you can download a trail version to test your JAR.
    Good Luck.
    LP

  • How to install a java application onto my mobile phone?

    Hi,
    I'm trying to install a simple hello world application onto my Samsung SGH-X650. I'm using WAP, because I have no other options. But when I try to download the jar file, I get an "unsupported file format" error. When I try the jad file, it displays as a text file. However, downloading from websites (ie. getjar.com) works (usually). Additionally when I put the jad file I downloaded from getjar to my own webpage, I get them as text files too...
    Any ideas?
    Thanks in advance,
    Viktor Erdelyi

    (((My phone doesn't know about Bluetooth, and the data cable is too expensive regarding that I don't use it every day, I just sometimes download a 20 kb file like a java app.)))
    But I managed to set the MIME type, now I get "invalid JAR"... I'm trying to install the JAR generated by NetBeans. In theory, CLDC and MIDP versions are ok.
    From google:
    "Samsung, for some strange reason, does not allow installing .jars over cable or bluetooth or any other way than over Internet connection."

  • EXE4J_JAVA_HOME problem while installing a Java application

    Hello there, new here, I have this problem that doesnt let me install an .exe file:
    it first shows that java.exe stopped working, and then the next error window appear:
    "No JVM could be found on your system.
    Please define EXE4J_JAVA_HOME
    to point to an installed JDK or JRE or Download
    a JRE from www.java.com"
    Ive tryed removing enrything that has to do with Java, and resintalling Java again
    and still the exe file wont work, Ive also cleaned the registry, and removing everything
    and installing again, and againt doesnt work, my PC have the following characteristics:
    Windows 7 Professional 32bit
    intel core i3 2.93ghz
    2 GB RAM
    Im not a developer so I use the JRE to run java-made apps...
    Ok guys Im new to all of this stuff about Java so, if you need more specs about my PC or details about my question, tell me, thanks.
    Edited by: 817037 on 30/11/2010 03:38 PM

    http://forums.oracle.com/forums/ann.jspa?annID=599
    db

  • Cannot open MSWord while running java application

    Hi everyone
    I'm not sure if anyone has encountered this problem before.. I'm running a java application under Windows NT and when I try to open an office document it won't run until that java application has been shutdown. I don't even get an error message for this. Nothing happens at all until the application is shutdown and then MSWord just opens as if nothing had ever happened.
    Anyone have any ideas as to what this problem might be?

    As a guess.....
    1. Run a "hello world" java application. Use task manager and take a snap shot of the processes window.
    2. Run nothing else but the java application. Use task manager and take a snap shot of the processes window.
    3. Compare the two and eliminate any that are the same.
    4. Run nothing else but word. Use task manager and take a snap shot of the processes window.
    5. Compare it with 3. Note the ones that appear both times.
    6. Run the java application - use task manager to kill what you found in 5. Run word.
    Step 6 will probably cause the java app to fail in some odd way. But now you know why it doesn't work.
    Of course if nothing is the same in 5 above then that would be odd.

  • Mechanism for monitor java application or JVM

    Ladies & Gentleman,
    I develop Java application under Windows 2000 datacenter. For gurantee to capture all of abnormal situation of java application and also JVM, I need to know how to capture the situation. Do any other tools to do these things? I am very appreciated if you could tell me.

    You don't exactly need any specific tools to just capture exceptions, that can easily be done by wrapping the program you want to monitor with your own main() method and adding some shutdown hooks...
    But it would be nice to know what you want to do once it happens....
    Regardless of which, here's an example of that wrap...
    import java.lang.reflect.*;
    public class Watch extends Thread
         public void run()
              System.out.println("VM is closing down");
         public static void main(String[] args) throws Exception
              if (args.length == 0)
                   System.out.println("You must supply the name of the class to start with.");
                   System.exit(1);
              Runtime.getRuntime().addShutdownHook(new Watch());
              try
                   Class theClass = Class.forName(args[0]);
                   Method theMethod = theClass.getDeclaredMethod("main", new Class[]{String[].class});
                   String[] theNewArray = new String[args.length - 1];
                   System.arraycopy(args, 1, theNewArray, 0, theNewArray.length);
                   System.out.println("Starting program with class "+args[0]+"...");
                   theMethod.invoke(null, new Object[]{theNewArray});
                   System.out.println("Program is done running.");
              catch (ClassNotFoundException cnfe)
                   System.out.println("No such class: '"+args[0]+"'");               
              catch (NoSuchMethodException nsme)
                   System.out.println("The class "+args[0]+" has no main method.");
              catch (SecurityException se)
                   System.out.println("Can't start: "+se.getMessage());
              catch (IllegalAccessException iae)
                   System.out.println("Can't invoke main method in class "+args[0]+": "+iae.getMessage());
              catch (Exception ite)
                   System.out.println("Exception occurred when running class "+args[0]+": "+ite.getMessage());
    }You can easily just swap those System.out's for something else.
    However, if you mean watching the process from outside the VM, then you need something else, I suppose.
    /F

  • Installing 3rd party application in Portal

    Hi,
    We are running on NW Portal 7.0. Presnetly I have one req to install one Java application in Portal. I got a war file from the developer. now the problem here is the developer used mysql database to do the coding. Now we want to use SQL server2000. could anybody tell me what needs to be done in my case.
    1.How to check the MS SQL 2000 database connectivity from my portal
    2.How to deploy the war file in my Portal
    Thanks
    KK

    hi karunakar,
    look this [article|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0319850-ec0a-2c10-3d82-c3334d7cc665&overridelayout=true] 
    let me know where u need adtional help
    ravindra

  • Sun Java Application Server - Domain and Node agent stop automatically

    Hi,
    We have installed Sun Java Application server 8.1 in a local zone on Solaris 10. The installation was successful.
    A default domain (domain1) was created. We have deployed a sample application too.
    The problem is that the domain and node-agent stop automatically. And need to be restarted from asadmin start-domain command.
    Not sure why this problem is occurring. One solution given in Sun Java System AS 8.1 EE Troubleshooting Guide was to add these 2 lines in the /etc/inittab file to restart the domain and node-agent whenever the system re-boots.
    das:3:respawn:/opt/SUNWappserver/bin/asadmin start-domain user admin passwordfile /opt/SUNWappserver/password.txt domain1
    das:3:respawn:/opt/SUNWappserver/bin/asadmin start-node-agent user admin passwordfile /opt/SUNWappserver/password.txt node-agent-name
    Pls help me if I can change this inittab file from the local zone and if changing this file has any implications on the other zones on Solaris 10.
    Else is there any other way to resolve this problem?
    Any help would be highly appreciated.
    Thankyou.

    One thing not clear from the post was,
    * when it is going down automatically.
    * Are you facing the same problem even after starting through the asadmin
    * If so, Post the server.log from "domains/logs" during the starup.
    If you want to bring it up with system reboot, You need to have a startup script for that in init.d and have the links to rc2/3.d.

  • Update JVM for Sun Java Application Server8

    Hi:
    I am wondering how do I update the JVM for an already installed Sun Java application Server 8. Does any one know how to do this? Thanks

    user4877326 wrote:
    Hi Experts,
    Need some good links and documentataion for "Sun Java Application Server". When I am making a serch for this I am getting links to Glassfish.
    So please help on the documentation for Sun Java Application Server .
    Regards.This is because Glassfish is the same product as Sun Java Application Server in that regard.
    The versioning goes as follows:
    Kiva Enterprise Server 1.x
    Kiva Application Server 2.x
    Netscape Application Server 4.x
    NetDynamics 5.x
    SunOne/iPlanet Application Server 6.x (merger of NAS4 and ND5)
    Sun Java Application Server 7.x = SunONE/iPlanet Application Server 7.x
    Sun Java Application Server 8.x = Java Enterprise Server Application Server 8.x
    Sun Java Application Server 9.x ~= Glassfish 2.x
    Glassfish 3.x
    Clear now? :)

  • Calling a  java application in windows enviroment from a browser

    so for example first you install my java application.
    Then you surf to www.example.com and the page on that site calls my application installed on windows. Is this possible?
    thanks

    Yes. With Webstart, you can create a link that'll run a Webstart-distributed app when clicked. "Autoclicking" this link using Javascript should be easy.

  • NW04S Java  application remians in "starting apps" phase.

    Dear all,
    I installed a java Application server voor a NWDI instance. However after stopping and starting the instance after what appeared to be a hung server. I am no longer able to logon via de Visual Administrator.The logon process runs to 99% then stalls.
    When I restart the Java application server both the SDM and the Dispatcher are started correctly. However the Server remains in the status Starting apps for hours.
    The following entry appears about every 10-15 minutes In the dev_server0 log: [Unloading class sun.reflect.GeneratedConstructorAccessor57]
    In the DefaultTrace.0.trc I get the follwoing entry:
    #1.5 #000BCD52CAAB000000000016000019800004387AB09D685F#1187999507111#System.err##System.err#######Thread[Thread-1,5,main]##0#0#Error##Plain###com.sap.engine.frame.core.configuration.ConfigurationLockedException: Cannot lock Configuration; it is already locked.
         at com.sap.engine.core.configuration.impl.ServerEnvironment.addLock(ServerEnvironment.java:316)
         at com.sap.engine.core.configuration.impl.ServerEnvironment.addLock(ServerEnvironment.java:340)
         at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.openConfiguration(ConfigurationCache.java:756)
         at com.sap.engine.core.configuration.impl.ConfigurationHandlerImpl.openConfiguration(ConfigurationHandlerImpl.java:734)
         at com.sap.engine.core.configuration.impl.ConfigurationHandlerImpl.openConfiguration(ConfigurationHandlerImpl.java:693)
         at com.sap.engine.core.cache.impl.spi.storage.DBStorage.<init>(DBStorage.java:64)
         at com.sap.engine.core.cache.impl.CacheManagerImpl.init(CacheManagerImpl.java:223)
         at com.sap.engine.core.Framework.loadSingleManager(Framework.java:577)
         at com.sap.engine.core.Framework.loadManagers(Framework.java:255)
         at com.sap.engine.core.Framework.start(Framework.java:189)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.boot.FrameThread.run(FrameThread.java:61)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sap.engine.frame.core.locking.LockException: Cannot lock [2007082501514709500000NLCC12045....................7395550, ! , 94d735ee/@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@, X]; it is in use by another owner. The lock collision occurred with user <internal>.
         at com.sap.engine.core.locking.impl3.LockingManagerImpl.lockInternal(LockingManagerImpl.java:257)
         at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:421)
         at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:441)
         at com.sap.engine.core.locking.ServerInternalLockingImpl.lock(ServerInternalLockingImpl.java:42)
         at com.sap.engine.core.configuration.impl.ServerEnvironment.addLock(ServerEnvironment.java:312)
         ... 15 more
    It looks as if the system is still holding a lock from a previous session, but I don't know how to release this.
    Can anyone me to resolve this issue.
    Many thanks,
    Owen.

    rkandy  
    If you had noticed correctly this question was posted and answered by me.
    The answer I posted here has also been confirmed by SAP.
    I posted the answer to help others who might face similar issues. There is therefore no need to add other solutions which may confuse other administrators who may have a real professional need to resolve similar problems.
    Furthermore I do not think that a SAP Technical Consultant would wait 4 hours before concluding that there might me something wrong with a Java installation which seem to hang the phase "starting apps".
    I am not asking for any points I just hope my answer will help others with similar problems.
    If anyone has been able to resolve similar issues on the basis of the solution provided here, then please update this message accordingly. Otherwise open an OSS message.
    Regards,
    Owen.

  • Java Application Server 9 - TCP connections

    I have installed Sun Java Application Server 9 and I see that the java process that is started has a lot (more than 30) of TCP connections with a local and a remote address that are both the hostname of the machine that run JAS.
    Can someone tell me what are these connections and if there is a way to decrease the amount of these connections?
    Thank you

    I have installed Sun Java Application Server 9 and I see that the java process that is started has a lot (more than 30) of TCP connections with a local and a remote address that are both the hostname of the machine that run JAS.
    Can someone tell me what are these connections and if there is a way to decrease the amount of these connections?
    Thank you

  • Installer for JAVA application and JVM

    Hi all,
    I want to install a java application(server side). I used free version of InstallAnywhere to do this before. But since my installer may need more complicated operations, like search the registery and detect if they have installed the JVM and Tomcat. if not, suggest them to install, etc. My company do not have the enterprise version of InstallAnywhere, but the InstallShields.
    I am not sure which tool I should use for such installer, InstallShield or InstallAnywhere/ or any other suggestions?
    jing

    I find this link as a good source to know what programs there are for a given tool:
    http://sys-con.com/java/readerschoice2002/
    Click on the "Best Java Installation Tool" link, and check if any of those programs can do what you need.
    InstallShield and InstallAnywhere seems to be the most used programs.

Maybe you are looking for

  • Calling javascript code from navigation bar

    hi all, I created a javascript in HTML HEADER as follows: <script language="javascript" type="text/javascript"> <!-- var win=null; function NewWindow(mypage,myname,w,h,scroll,pos){ if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random(

  • Using the ITimebasedPublishEvent.EVENT_TYPE_STOP for a repository service

    Hi Expert, corresponding the the thread "https://forums.sdn.sap.com/thread.jspa?threadID=789842&tstart=0" I want to implement a repository service, which started when the validto date in the lifetime properiy is exceeded. For this case I inserted in

  • Help in ripping a movie

    I have a movie that I have to extract some clips from (with the director's permission) and I am having trouble. I used mac the ripper and dvdxdv and the process seems to work correctly but when I import into imovie, the frames are blank. I've done th

  • The cambece file server is down

    We just got our file server up and then it went down again, it seems the server is having conflict with the windows server. what could the problem be? J.A. Cambece   Mac OS X (10.4.3)  

  • SAP database updations

    Hi all      I just want to know whether we can do the SAP database updations through a JAVA program.If we can do this then please explain to me how we can do this.I just want to access the data in the database(SAP) and do the updations whenever we ne