Hi, I'm also a newbie to JBT and found the same warnings in the compiler as generalenthu. In addition, I was not able to run the JBT as the following msg popped up:
"Exactly one argument must be passed. Usage: JBookTrader <JBookTraderDirectory>" I'm on Eclipse and jdk1.6.0_38. Please kindly advise where the problems might be. Thanks in advance! On Tuesday, July 31, 2012 1:31:15 AM UTC-4, generalenthu wrote: > > > A little bit of digging tells me that the compiler is just being a little > finicky here and I turned off the corresponding options. I am pretty sure > there are no other configuration issues. It will be great if someone can > confirm the same. > > Thanks in advance! > > On Tuesday, July 31, 2012 12:36:50 AM UTC-4, generalenthu wrote: >> >> I am trying my hand at Java after a long long time and am getting 4 >> warnings when I try to build. I tried using the instructions for Windows on >> a Linux install of eclipse (4.2) >> >> Here are the warnings. Can someone throw light on what is happening or >> are these OK to proceed with >> >> Description Resource Path Location Type >> Resource leak: '<unassigned Closeable value>' is never closed >> JBookTrader.java /JBookTrader/source/com/jbooktrader/platform/startup line >> 47 Java Problem >> The enum constant TimeUpdate needs a corresponding case label in this >> enum switch on ModelListener.Event StrategyInformationDialog.java >> /JBookTrader/source/com/jbooktrader/platform/strategy line 35 Java >> Problem >> The enum constant Error needs a corresponding case label in this enum >> switch on ModelListener.Event StrategyInformationDialog.java >> /JBookTrader/source/com/jbooktrader/platform/strategy line 35 Java >> Problem >> The enum constant ModeChanged needs a corresponding case label in this >> enum switch on ModelListener.Event StrategyInformationDialog.java >> /JBookTrader/source/com/jbooktrader/platform/strategy line 35 Java >> Problem >> >> -- You received this message because you are subscribed to the Google Groups "JBookTrader" group. To view this discussion on the web visit https://groups.google.com/d/msg/jbooktrader/-/2fbMFKtwQXcJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jbooktrader?hl=en.
