Results 1 to 2 of 2
  1. #1
    kratoras is offline Member
    Join Date
    Mar 2008
    Rep Power

    Default calling a java application from another

    i have noticed a strange behaviour of my java app when i open it from another java app. When i run the core application with a bat file using jre1.6 everything works fine. Now what i want to do is create an application that checks the existance of jre 1.6, downloads it if it does not exist and run real application with the new jre. The second small app runs with a small jre 1.4.2. In reality it seem to work fine, it downloads the jre1.6 folder and exits normally. However when the real application is launched it behaves strangely without throwing any exceptions. And this behaviour seems to be random. for example, a jpanel may not show any components, or the whole jframe may close suddenly. Does anyone have any idea what is going on? Is there a chance that some classes of the first jre remain in memory and conflict when the second application is launched?

  2. #2
    ferranb is offline Member
    Join Date
    Jun 2008
    Rep Power

Similar Threads

  1. urgent:calling c program from java
    By rach in forum New To Java
    Replies: 6
    Last Post: 01-19-2010, 11:37 AM
  2. calling a C routine from JAVA running in AIX
    By jcosta in forum New To Java
    Replies: 1
    Last Post: 01-13-2008, 07:05 PM
  3. Calling mainframe IMS program from Java
    By babu95 in forum New To Java
    Replies: 2
    Last Post: 12-21-2007, 01:08 PM
  4. Calling jar classes from java executable
    By SteM in forum Advanced Java
    Replies: 1
    Last Post: 11-27-2007, 08:21 AM
  5. calling a java class from html
    By Ed in forum Advanced Java
    Replies: 1
    Last Post: 07-08-2007, 12:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts