Forums Register Login

error at runtime trying static initializer first time please help

+Pie Number of slices to send: Send
below is the error at runtime
trying static initializer first time please help



1
+Pie Number of slices to send: Send
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
No thanks. We have all the government we need. This tiny ad would like you to leave now:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1012 times.
Similar Threads
whats wrong with my code ?
Trying to learn enumerated types of class
what is the problem with my java code
Another Error this time while trying to run "cannot find class"?
whats wrong with my code ?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 07:41:48.