This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes How to crash a java application?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to crash a java application??" Watch "How to crash a java application??" New topic
Author

How to crash a java application??

rimzy abdulkader
Greenhorn

Joined: Oct 04, 2006
Posts: 18
hi

i would like to know how to crash a java application if someone tries to modify it.


rimzy


SCJP 5.0
Pavel Kubal
Ranch Hand

Joined: Mar 13, 2004
Posts: 356
What you mean by modifying it?

btw: System.exit(0); is usually successful:-)
rimzy abdulkader
Greenhorn

Joined: Oct 04, 2006
Posts: 18
that means if someone tries to modify the settings or try to modify by reinstalling the application .

or try to use a registration key which is already been used.
[ December 21, 2006: Message edited by: rimzy abdulkader ]
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Are you asking how do you apply a licence restriction to your application? What do you mean by "modify the settings"? What settings? And how is your application installed? Can you expand on what you've put so far?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to crash a java application??
 
Similar Threads
WA #1.....word association
doubt
JVM crash
help with allocating more memory during runtime
Disadvantages of break and continue