Re: Compile BeanShell using JJDK 1.2
Patrick Niemeyer <[email protected]> Tue, 4 Jan 2005 12:04:42 -0600
| Newsgroups | gmane.comp.java.beanshell.devel |
|---|---|
| Message-ID | <[email protected]> |
On Jan 3, 2005, at 3:15 AM, Steven Y.C. CHAN wrote: > I'd like to use the BeanShell as a Java Interpreter under a Java VM > embeded in a DB server (Sybase ASE v12.5.x). As it only support JDK > 1.2, and 'fully compile the bsh distribution requires JDK1.3+' > (mentioned in the developer's corner of the BeanShell homepage). Is > it possible to modify the package so that it can be compiled under JDK > 1.2 (at least with basic bsh functionality)? Hi again, The only issue with running the current build under older VMs would be any binary class format incompatibilities. The code itself should gracefully detect what features are present and load only the modules it can run. To correct any class format issues it is easy to build the source for an earlier VM... The Ant build file that comes with the source has options in it for building under older VMs (1.2 and 1.1). The 2.0 beta may have a few bugs with respect to older VM compatibility but they should be easily fixed or you could go with the 1.3 source branch. In either case, the point is that the worst you should have to do is to recompile the current source under an older VM... you shouldn't have to go back to much older BeanShell source branches. When I get a moment I will try to do a 1.1 and 1.2 build and post them on the website. Please contact me if you have any difficulty in the mean time. Pat ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt