Hi, > On 20 Oct 2015, at 12:41, Kushnir Gennady <genk...@rujel.net> wrote: > > It has been a while since I last updated my developer environment for WO. I > used to work with Eclipse Helios lately. > But after updating my mac to El Captain I noticed some differences in launch > scripts generated during application build. > After all I decided to upgrade to newer version of Eclipse. And I’m still > having trouble with it.
Not on the original issue but I noticed that this happens, when woproject (i.e. the ant/maven/gradle builder) cannot find WebObjects. It then falls back to assuming an older version of WO and builds a different launch script. Check if your WO is still setup properly and your Library/wobuild.properties are setup correctly. This can be especially irritating when not embedding frameworks and/or building with maven/gradle as the WO dependencies are all present but the launch script just is different. > First I installed version 4.5 (Mars) with WOLips44. I found that it refused > to launch with Java 1.6, so I had to install Java 1.8 also. But I failed to > build my app as it said to me that Java versions below 1.7 are not supported. Seems like this is more related to ant not working properly with Java 6 anymore; you need to run using at least Java 7 but you should be able to target your builds to 1.6 (i.e. Java 6) by adding the appropriate parts to your ant file. https://bugs.eclipse.org/bugs/show_bug.cgi?id=474386 <https://bugs.eclipse.org/bugs/show_bug.cgi?id=474386> has some more information and further links on the whole ant-mars-java7 issue. > After that I installed 4.4 (Luna). But it also refused to build saying: > "Unsupported major.minor version 51.0". Have you cleaned everything? This is usually a Java 6 compiler / runtime trying to work on classes compiled with Java 7. Probably there are some Java7-compiled files around. Note that Java 6 and 7 are already (at least publicly) end of life so you should at least evaluate if there are any problems running on 7 or even 8. Greetings Dennis -- ----------------------------------------------------- Dennis Bliefernicht • Backend Development T +49 40 357 3001 62 dennis.blieferni...@xyrality.com XYRALITY GmbH • Friedensallee 290 • 22763 Hamburg www.xyrality.com <http://www.xyrality.com/> Registergericht: Hamburg HRB 115332 Geschäftsführer: Sven Ossenbrüggen -----------------------------------------------------
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com