hi bill, i've been thinking about this problem since you and i talked about it in on the way to fry's.
don't ask me why. i have no desire to learn java (other than it would be a nice stocking stuffer for my resume, but i've been finding less interest in java than what i perceived the job market having a few years ago). i googled a bit, and perhaps this would help: http://www.cs.ucla.edu/~ashapiro/cminusjava/ i played with it a bit and it didn't work. maybe you'll have better luck. here's some more (check out jvmcomp.sml): http://www.it-c.dk/courses/PFOO/F2003/overview.html and this page describes "Objective-J", a project that compiles a subset of objective C to java bytecode: http://maccentral.macworld.com/news/2001/05/22/birds/ the url figures, doesn't it? :) i can't find much on objective-j though. it looks like people have thought about the problem, briefly. you'll have to do some serious digging. but it really looks like there are no mature projects going on that translates C to java bytecode. it looks like you might have luck in translating C to IL bytecode. not sure what IL bytecode is, other than it seems to be associated with mono/.NET. yuck. pete On Sun 29 Jun 03, 8:35 AM, Mark K. Kim <[EMAIL PROTECTED]> said: > I think I've heard of such program. Sorry but I can't remember what it's > called or where I heard it. I vaguely seem to recall hearing about it > from Brian Lavender but that's probably just in my imagination. Have you > asked it on Saclug list? Couldn't hurt. > > -Mark > > > On Sun, 29 Jun 2003, Rod Roark wrote: > > > On Sunday 29 June 2003 02:32 am, Bill Kendrick wrote: > > > Okay, just out of curiosity. Say one wanted to create a 'Java application' > > > (e.g., something that runs in a web browser, cell phone or PDA JVM), > > > but they wanted to write the application using the C /language/. > > > > > > This is possible, is it not? If so, are there some tools for this > > > under Linux? (I see "gjc", the Java compiler from GNU, as well as > > > "gij", the Java bytecode interpreter from GNU; but nothing for > > > taking code in other programming languages and turning them into Java > > > bytecode) > > > > I don't know of any way to do that, nor why anyone would > > want to. Java syntax already resembles C quite a bit. > > > > Tell them to write it in C, run it through a Java compiler, > > and fix the parts that don't work. :-) > > > > Best, > > -- > > Rod Roark, Sunset Systems http://www.sunsetsystems.com/ > > Offering preconfigured Linux computers, custom software and > > remote system administration services. > > Public Key: http://www.sunsetsystems.com/rodspublickey.asc > > > > _______________________________________________ > > vox-tech mailing list > > [EMAIL PROTECTED] > > http://lists.lugod.org/mailman/listinfo/vox-tech > > > > -- > Mark K. Kim > http://www.cbreak.org/ > PGP key available upon request. > > _______________________________________________ > vox-tech mailing list > [EMAIL PROTECTED] > http://lists.lugod.org/mailman/listinfo/vox-tech -- GPG Instructions: http://www.dirac.org/linux/gpg GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D _______________________________________________ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
