This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Murach's Java Programming and have Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Illegal Access - java.lang.IllegalAccessException when open my simple app.  RSS feed

 
kashyapa kumarawadu
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


It is working nicely in Nokia asha 1.2 emulator. but when it's jar file open on my Nokia 205 it gives "Illegal Access - java.lang.IllegalAccessException"
Any idea about what's happening?
 
kashyapa kumarawadu
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found the answer. The constructor should be public. Thanks
 
Of course, I found a very beautiful couch. Definitely. And this tiny ad:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!