• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problems running Swing client with JRE

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I've got a problem with a Swing client. I've devopeled a swing client with VAJ3.5 which uses Java1.2.2 if I'm not mistaking.
I want to run the application stand-alone with a JRE. With JRE1.2 the application won't work. With JVM1.4 the application starts but it doens't work properly.
What can I do to let the appliaction run stand-alone?? In VAJ the application works fine!
To summarize, which JRE do I need to let the Swing client work.
Thanks in advance!!
 
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what error message is printed when the program fails to start up, or crashes? I suppose your VAJ sets the classpath, but when you try to run the program without it, the classpath settings are missing. if this is the case, there would be some ClassNotFoundException or something similar be thrown.
chantal
 
Ja Roel
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The appliaction starts loading but stops without a error message.
I have a connection with MS Acces and some debug System.out.println(). It sas "Connection" and then returns to the propmt whitout starting the Swing client.
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why don't you post the code where you are trying to start the Swing client... are there any conditional statements that may prevent the GUI from showing up?
 
reply
    Bookmark Topic Watch Topic
  • New Topic