Windows Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsWindows Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 19th, 2003, 05:56 AM
rathisusheel rathisusheel is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 20 rathisusheel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 20 m 12 sec
Reputation Power: 0
Windows XP and Windows 2000 + executable jar files

Hi All,

I have an java application which is zipped in a executable jar file. The application starts and works fine when the jar file is double clicked in windows 98 environment. But when I try to execute the same jar file on windows 2000 or windows xp by double clicking the jar file it doesn't starts. But i can start the application in windows xp and windows 2000 by the following command from the command prompt:

java -jar myapp.jar

Y cannot i execute the file by double clicking it unlike in windows 98.

Regards
Susheel

Reply With Quote
  #2  
Old September 19th, 2003, 09:19 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,849 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 23 h 58 m 10 sec
Reputation Power: 766
Apparently .jar files are not associated with the java executable. You can check in Windows Explorer - Tools - Folder Options - File Types

Reply With Quote
  #3  
Old September 19th, 2003, 12:35 PM
Known_criminal Known_criminal is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Mississippi
Posts: 475 Known_criminal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
i have found some files dont extract well on ntfs, mostly self extracting, to solve the problem i usually make a small fat32 partition on my machines to extract and start installations from, if they dont seem to run from ntfs. but have run into the opposite also, on windows 98 and ME have found that some files when extracted dont work right or at all, wordpad documents are blank on 98 and ME, but on a ntfs machine they have all thier info.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsWindows Help > Windows XP and Windows 2000 + executable jar files


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway