• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error executing file.

 
Shhailesh Joshi
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I compiled this code to .jar file and converted it to .exe using exe4j sofware.but as soon as i give inputs and press enter it wont display the results.please suggest what to do? and yes the code is free of errors.
 
Rob Spoor
Sheriff
Pie
Posts: 20661
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you crazy? Deleting hal.dll (if it succeeds, I hope Windows prevents you from doing that) will seriously mess up your Windows installation. It's needed to make any piece of hardware to work - it's the Hardware Abstraction Layer main DLL. Why would you want to delete that?
 
Shhailesh Joshi
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no.its not preventing me from deleting that hal.dll and it wont delete as it will deleted only if 'that' mentioned file is missing.i just wrote it for timepass.
 
Shhailesh Joshi
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and 'that' file is present in my pen drive.i just wanted that no one can access my pc(the code here is incomlete).i am beginner and just for timepass i used to do such things.
 
Rob Spoor
Sheriff
Pie
Posts: 20661
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So if someone starts your PC without your pen drive then he will cripple your own Windows installation?
 
Henry Wong
author
Marshal
Pie
Posts: 21496
84
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Spoor wrote:So if someone starts your PC without your pen drive then he will cripple your own Windows installation?


Or if another coderanch user tries to help the OP debug the code in this topic???

regardless, I deleted the offending line of code -- don't want JR or the OP getting sued to distributing damaging code here.

Henry
 
Shhailesh Joshi
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok...thank you all for your response, and sorry for sharing such things publicly at javaranch.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic