[clug-talk] OT: java help urgent!!!

Raimundas rayx at centras.lt
Fri Dec 16 05:23:13 PST 2005


start the below quoted batch file in the command line window (under 
Windows do "Start"->"Run"-> cmd)
and look at the command line output... It will provide at least some 
information what's going wrong
with your program. If you start the batch file from GUI all the output 
gets swallowed and what we all do is just guessing....
It could be shortage of memory for java process to run. in that case 
look how -X and -x switches are used ...

Ray

Nick Wiltshire wrote:

>On Thursday 15 December 2005 6:16 pm, Shawn wrote:
>  
>
>>The batch file consists of the command he showed:
>>c:\progra~1\java\jdk1.6.0_06\bin\java -cp c:\percomm\percomm.jar Percomm
>>    
>>
>
>Yeah, I didn't look at it...I thought the path was a failed attempt to attach 
>a file.
>
>Robert: shouldn't you use the windows equivalent of the --jar switch to 
>execute a .jar?
>
>  
>
>>This should be starting a java process... but I don't know enough about
>>Jave beyond that....
>>
>>Shawn
>>
>>On Thursday 15 December 2005 16:57, Nick Wiltshire wrote:
>>    
>>
>>>The batch file wasn't attached...
>>>
>>>On Thursday 15 December 2005 6:05 pm, Robert Lewko wrote:
>>>      
>>>
>>>>Hi all.  I know that this is off topic, but I'm hitting all the
>>>>resources that I know.  I have a java problem.  I have developed a
>>>>desktop program in java using swing for the GUI.  The platform is Win
>>>>XP.  The drop dead data is tomorrow.  When I first started this project
>>>>I got a very simple swing program going from the command line that just
>>>>did a HelloWorld in Swing.  I finished developing the program under the
>>>>eclipse for the IDE. I am now making a DOS/Win batch file to execute
>>>>the program in and whether I type the command in or run it from the
>>>>batch file all it does is silently exit, ie no warnings.
>>>>
>>>>here is the batch file so far:
>>>>
>>>>c:\progra~1\java\jdk1.6.0_06\bin\java -cp c:\percomm\percomm.jar
>>>>Percomm
>>>>
>>>>Alternatively I have tried javaw with no difference in results.
>>>>
>>>>Just in case the things the program does are affecting things it uses
>>>>UDP datagrams to connect to a server.  Yes there is a reason for using
>>>>UDP rather than TCP.
>>>>
>>>>_______________________________________________
>>>>clug-talk mailing list
>>>>clug-talk at clug.ca
>>>>http://clug.ca/mailman/listinfo/clug-talk_clug.ca
>>>>Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
>>>>**Please remove these lines when replying
>>>>        
>>>>
>>>_______________________________________________
>>>clug-talk mailing list
>>>clug-talk at clug.ca
>>>http://clug.ca/mailman/listinfo/clug-talk_clug.ca
>>>Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
>>>**Please remove these lines when replying
>>>      
>>>
>>_______________________________________________
>>clug-talk mailing list
>>clug-talk at clug.ca
>>http://clug.ca/mailman/listinfo/clug-talk_clug.ca
>>Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
>>**Please remove these lines when replying
>>    
>>
>
>_______________________________________________
>clug-talk mailing list
>clug-talk at clug.ca
>http://clug.ca/mailman/listinfo/clug-talk_clug.ca
>Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
>**Please remove these lines when replying
>
>
>  
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://clug.ca/pipermail/clug-talk_clug.ca/attachments/20051216/8e3849e9/attachment-0001.htm


More information about the clug-talk mailing list