File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error at runtime trying static initializer first time please help

 
naved momin
Ranch Hand
Posts: 692
Eclipse IDE Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
below is the error at runtime
trying static initializer first time please help



 
Vijitha Kumara
Bartender
Posts: 3908
9
Chrome Fedora Hibernate
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hint: Check the below java invocation with the code you used to extract the value in the class. And you can't have spaces between the -D and the name used.

java -D myApp.StaticBlock.counter=47 TestStaticBlock
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic