|
From: Dale A. <da...@gr...> - 2009-01-21 18:19:03
|
A comment about "Mac users are limited to Java 1.5" -- it seems not all Mac users are restricted to Java 1.5, see this link: http://support.apple.com/kb/HT2733 and this link: http://weblogs.java.net/blog/arungupta/archive/2008/04/java_se_6_u5_on.html I'm not up on Macs, but it looks like you have to have a fairly new machine and have a 64-bit Intel based Mac. On Mon, Jan 19, 2009 at 12:52 AM, Shlomy Reinstein <sre...@gm...>wrote: > Hi all, > > As someone noted on this mailing list yesterday, Mac users are limited > to Java 1.5, so it's important for jEdit and its plugins to run with > Java 1.5. > Fortunately, the Java 6 compiler provides options to create bytecode > that can run with Java 1.5 ('cross compilation'). To compile for 1.5, > use the following options: > > "-target 1.5": Specify that the target bytecode can be run by Java 1.5. > "-bootclasspath <path to rt.jar of jdk 1.5>": Specify the set of boot > classes against which to compile. This ensures that compilation uses > boot classes that are available in 1.5. > "-extdirs <semicolon-separated list of directories>": Specify > extension directories to use for compilation. > > This information is taken from: > http://java.sun.com/javase/6/docs/technotes/tools/windows/javac.html > An example at the end of that web-page shows how to compile for 1.5. > > I think it's better to include something for that in > build-support/plugin-build.xml, and instruct all plugin developers to > use that compilation task whenever possible instead of writing custom > ones. > > Shlomy > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > -- > ----------------------------------------------- > jEdit Developers' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-devel > |