Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!