KJ,

I'm also new (again) to this, I guess some sort of new years resolution to
pick back up projects I started then didn't really finish.

For what it is worth, I used java 6 without a problem on the latest "tip"
from the repo.  Even though your eclipse is "using" Java7, you can add
java6 to your system, then configure it as an alternate jdk in eclipse.
Then, you can make THIS project use Java 6 for both compile and runtime.
All of the errors I see, look like simple differences between Java 6 and
Java 7, many would be expected.  I really would run what everyone else
tests with, unless you have specific reasons for Java 7.

I recently used the following without any problems:
IDEA IntelliJ, OSX Mountain Lion, Java 6 (Hotspot), Heap mem 2G w/
aggressive flag.

Marcus


On Mon, Jan 7, 2013 at 10:55 AM, KJ Hamblin <[email protected]> wrote:

> I've been an inactive member of JBT for a few years now, never posting or
> contributing anything, however Eugene's recent post about his success and
> the new JBT release has inspired me to move forward.
>
> First, I attempted to setup JBT in eclipse per the document in the Docs
> folder on my windows 7 machines with jdk1.7.0.  That produced 32 different
> warnings (see attached).  Four of those warnings have been discussed
> previously in this 
> thread<https://groups.google.com/group/jbooktrader/tree/browse_frm/thread/9289a299c30fe35f/98f7c21a16b3358d?hide_quotes=no&pli=1>
>  and Eugene's suggestion
> was to change the Eclipse compiler settings to also ignore "Incomplete
> 'switch' cases on Enum" as well as "Resource leak," provided I understood
> that thread correctly.  That eliminates the known 4 errors
>
> That leaves 28 errors, all of which correspond to JComboBox being a raw
> type and that it should be parameterized.  I'm still not an expert in Java,
> but this 
> page<http://stackoverflow.com/questions/8845139/jcombobox-warning-preventing-opening-the-design-page-in-eclipse>
>  indicates
> that the WindowBuilder is not fond of the generics version of JComboBox.
>  Replacing JComboBox with JComboBox<String> everywhere it occurs resolves
> all warnings, but according to this 
> page<http://stackoverflow.com/questions/12821700/jcombobox-safety-type-difference-in-java-7-and-java-6>
>  that
> will cause compiler compatibility issues with Java 6, which I think most
> everyone is using.  I have not tested that though.
>
> I wanted to check to see if that is a known issue or if anyone has
> opinions.
>
> Also, I updated the windows installation document to reflect JBT 8.07
> using Eclipse 4.2.1 ignoring "Incomplete 'switch' cases on Enum," "Resource
> leak" and "Serializable class without serialVersionUID" under compiler
> settings.  It is attached also, let me know if there are any errors and I
> will gladly correct them.
>
> Thanks for taking the time to read this!
>
> --
> 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/-/5czCFlk1pK0J.
> 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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"JBookTrader" group.
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.

Reply via email to