Re: Compiling to a binary
Also, have a look at 'binfmt_misc.txt' and 'java.txt' in: /usr/src/linux/Documentation (or wherever your kernel docs are). I haven't tried out the Misc Binary interface yet, but it looks useful for your kind of requirement. Mike Greaves Ernst de Haan wrote: > > Why don't you write a shell script? For instance: > >java MyProgram $* > > That's all. > > GreetinX++, Ernst > > > Anupama Jayathilake wrote: > > > > I got a problem.Please advice me. > > I want to compile my java class to a binary so that i can run it > > from commant prompt without giving "java myprogram" > > How can i compile java class. > > Please help me > > Anupama > > > > -- > Ernst de Haan > Freelance Java architect > > "Come to me all who are weary and burdened, > and I will give you rest" -- Jesus Christ > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- // Michael Greaves [EMAIL PROTECTED] // -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
JIT in pre2???
Stefan Proels wrote: > > > cannot find the JIT (sunwjit) and that it is switching to interpreted > chmod 755 jdk1.2/jre/lib/i386/libsunwjit.so ^^^ -- ? Excuse me for asking, but am I to understand that Blackdown JDK1.2, as of prerelease 2, now includes a JIT and uses it by default? And that this JIT is based on Sun source code - i.e. the same one included with the Solaris JDK1.2?? What are we trying to do, achieve high performance or something?? ;-) Is TYA headed for the great, big, bit bucket in the sky? :-( Is Hotspot on it's way too? Sorry for asking so many questions. Maybe I should have been following the list more closely, but this all seems like a pleasant shock to me. -- // Michael Greaves [EMAIL PROTECTED] // -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: sunwjit slows down JDK
Paul Ignacio Pacheco Piemonti wrote: > > with sunwjit: It takes about 28 seconds to load. > without a JIT: It takes about 19 seconds to load. > with tya: it takes about 13 seconds to load. And I was just noting how much of a boost the sunwjit seems to give. I haven't been able to find any free java benchmarks that I am totally comfortable with. So I've been using CaffeineMark 3.0 running in the appletviewer and taking the results with a grain of salt. You know what they say about lies, damned lies, and benchmarks... But, IIRC, I was getting around 380 in 1.1.7v3 w. TYA, and now I get around 180 in 1.2pre2 without a JIT and around 900 (!) with sunwjit. Seems pretty fast to me. The non-I/O-related tests all go up by around a factor of 10 with the JIT on. Maybe either your 64 MB of RAM or the dinky 128 kB cache in the Celeron is becoming a limiting factor? JITs increase memory consumption, don't they? Maybe someone who knows more can comment. -- // Michael Greaves [EMAIL PROTECTED] // -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
