LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 08-06-2008, 09:59 AM   #1
ninjabob7
Member
 
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
jay73
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
excel28
Member
 
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.
 
  


Reply


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


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

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