GeeCON Prague 2014*
The moose likes Java in General and the fly likes  error at runtime  trying static initializer first time please help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark " error at runtime  trying static initializer first time please help " Watch " error at runtime  trying static initializer first time please help " New topic
Author

error at runtime trying static initializer first time please help

naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 692

below is the error at runtime
trying static initializer first time please help





The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3833

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


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error at runtime trying static initializer first time please help