[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No VM02 at KFest?
On Jul 22, 5:23 pm, dog_...@macgui.com (D Finnigan) wrote:
> DaveSchmenk wrote:
> > On Jul 21, 1:52 pm, dog_...@macgui.com (D Finnigan) wrote:
> >> I just looked over the schedule for this years' KFest and I noticed that
> >> there wasn't anything with VM02. This surprised me, since it's (in my
> >> opinion) a fairly impressive technology. Of course, many of the other
> >> presentations looked like something I'd love attend, but I wonder why
> >> there
> >> wasn't anything on this Java VM for the 8-bit Apple.
>
> >> --
> >> Mac GUI Vault - A source for retro Apple II and Macintosh
> >> computing.http://macgui.com/vault/
>
> > Probably because no one else is masochistic enough to go through the
> > development process but me ;-)
>
> I was compiling some things for it, but got stuck with what I think is a
> javac problem. I can't figure out how to compile a single .java file with
> multiple classes into just one file. It seems like VM02 wants everything in
> one file, but maybe that's not the case, either.
>
You just need to specify where the classes are - no need to build one
huge class file. VM02 just can't handle .jar files. Look how the
samples include the classes for the gui and apple2 classes, i.e.:
import apple2.*;
import org.vm02.cui.*;
When javac goes traipsing through the directories looking for
the .class files, it will build them from the .java source if it
doesn't find them. In my makefile (I'm the worst makefile author in
the world) I try to build all the class files up front so that I can
copy them to ProDOS image directory. I've had a few bugs when javac
would update a class file before the makefile got to it so it never
got copied to the ProDOS image. Arrggghhh.
Drop me a line if you need more info.
Dave...
> > I'd love to get to KansasFest some day
> > and show it off a little, but it's not in the cards this year.
>
> Maybe next year.
>
> > Glad
> > you thought highly enough to mention it though - thanks!
>
> Certainly!