Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-06-2008, 09:59 AM   #1
Registered: Nov 2005
Distribution: Ubuntu 9.10 and Slackware 13.1
Posts: 78

Rep: Reputation: 15
Java apps sometimes don't start

This isn't strictly a programming question, but it is Java-related and is getting in the way of my programming.

I'm using Windows Vista with the jdk1.6.0_07 and often after I've built my latest jar file (using a batch script) the program doesn't start. I have tried double-clicking it and launching it from the command line with several versions of Java.

Sometimes even after rebooting the computer my program won't start, and I have to reboot again. Today, though, I tried loading a Java applet and not only did it work, my program also loaded the next time I tried it.

Has anyone had this problem or knows what to do?
Old 08-06-2008, 07:07 PM   #2
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
There isn't much to say based on what you tell as it lacks all details. What about paths? Where do you store your apps? Is that applet that your ran succesfully in the same location as the other ones, did it work before or not, which classes does it use, etc. et.
Until these things are known, it's anyone's guess what could be wrong.
Old 08-07-2008, 06:22 PM   #3
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 72

Rep: Reputation: 15
Not sure about this issue, but what I would do is run the non-jar program under a console, and see what type of errors it spits out.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Kick-Start Your Java Apps with Ajax LXer Syndicated Linux News 0 12-01-2006 08:21 AM
LXer: Kick-Start your Java Apps, Part 2 LXer Syndicated Linux News 0 11-25-2006 07:21 PM
start apps automatically on start up? chunlee Linux - Newbie 3 09-04-2004 12:58 PM
Web start java not working (java works fine) powadha Debian 5 06-05-2004 12:57 PM
Updated Java... now java apps dont work zidane2010 Linux - Software 6 05-04-2004 08:02 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration