Re: compilation troubles with tya07 + jdk1.1.6v2
Why not use tya 1.0 (which should be used together with jdk1.1.6) ?? Jah ET On Thu, 20 Aug 1998, Prashant Chandra wrote: > Hi! > > I just installed TYA 0.7 JIT compiler to work with JDK 1.1.6 v2. I > had problems installing TYA and I thought I would share with the rest > of the community how I hacked a solution. > > . snipp > > Thanks. > -prashant > --
Re: compilation troubles with tya07 + jdk1.1.6v2
Hi, You might want to try 'ftp://gonzalez.cyberus.ca/pub/Linux/java/tya1.0.tgz' I think it is the main site for tya. Cheers, Dirk.
Re: compilation troubles with tya07 + jdk1.1.6v2
I did not know there was a tya 1.0. I could not find it on the TYA website. Where can I find it? Thanks. -prashant > > Why not use tya 1.0 (which should be used together with jdk1.1.6) ?? > > Jah > > ET > > On Thu, 20 Aug 1998, Prashant Chandra wrote: > > > Hi! > > > > I just installed TYA 0.7 JIT compiler to work with JDK 1.1.6 v2. I > > had problems installing TYA and I thought I would share with the rest > > of the community how I hacked a solution. > > > > . snipp > > > > Thanks. > > -prashant > > -- > -- R. Prashant Chandra e-mail: [EMAIL PROTECTED] Phone: 412-268-8019 (Office) 412-681-3829 (Home)
Re: compilation troubles with tya07 + jdk1.1.6v2
Ok. I tried tya 1.0 and still had the int64_t problem. The configure script seems to have been fixed, but I still had to add the following line of code to the top of every .c file (six of them). typedef long long int int64_t; Like I said in my earlier email, this is probably because of incorrect defines being passed to /include/genunix/typedefs_md.h. Thanks for pointing me to tya1.0 web download site. -prashant > > > > Why not use tya 1.0 (which should be used together with jdk1.1.6) ?? > > > > Jah > > > > ET > > > > On Thu, 20 Aug 1998, Prashant Chandra wrote: > > > > > Hi! > > > > > > I just installed TYA 0.7 JIT compiler to work with JDK 1.1.6 v2. I > > > had problems installing TYA and I thought I would share with the rest > > > of the community how I hacked a solution. > > > > > > . snipp > > > > > > Thanks. > > > -prashant > > > -- > > > > -- > > R. Prashant Chandra > e-mail: [EMAIL PROTECTED] > Phone: 412-268-8019 (Office) >412-681-3829 (Home) > -- e-mail: [EMAIL PROTECTED] Web: http://www.cs.cmu.edu/~prashant Phone: 412-268-2580 (Office) 412-268-7560 (Lab) 412-681-3829 (Home)
compilation troubles with tya07 + jdk1.1.6v2
Hi! I just installed TYA 0.7 JIT compiler to work with JDK 1.1.6 v2. I had problems installing TYA and I thought I would share with the rest of the community how I hacked a solution. First I had problems with configure not recognizing my java VM. Apparently this is because 'java -version' returns 'java version "1.1.6"' and this is not covered in the case statement in configure. So I added a case block similar to the one for jdk 1.1.6v1. That fixed the "UNRECOGNIZED" java VM problem. However, I still had problems with improper include files. For some reason, int64_t is not defined. This is probably due to improper defines in .../include/genunix/typedefs_md.h. I worked around this problem by adding the following line to the top of the 3 .c files in the tya07 distribution. typedef long long int int64_t; After these changes, tya compiled successfully and runs correctly. The changes I made are probably incorrect hacks (definitely adding the typedef for int64_t). Hopefully, the configure script will be fixed to take care of the problem correctly in the future. Thanks. -prashant -- e-mail: [EMAIL PROTECTED] Web: http://www.cs.cmu.edu/~prashant Phone: 412-268-2580 (Office) 412-268-7560 (Lab) 412-681-3829 (Home)
Re: compilation troubles with tya07 + jdk1.1.6v2
Hi, where is tya 1.0? On http://www.dragon1.net/software/tya/ the last version is 0.7. Regards, Michael -Ursprüngliche Nachricht- Von: Thomas Eitzenberger <[EMAIL PROTECTED]> An: Prashant Chandra <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Datum: Donnerstag, 20. August 1998 11:00 Betreff: Re: compilation troubles with tya07 + jdk1.1.6v2 Why not use tya 1.0 (which should be used together with jdk1.1.6) ?? Jah ET On Thu, 20 Aug 1998, Prashant Chandra wrote: > Hi! > > I just installed TYA 0.7 JIT compiler to work with JDK 1.1.6 v2. I > had problems installing TYA and I thought I would share with the rest > of the community how I hacked a solution. > > . snipp > > Thanks. > -prashant > --
Problem playing audio file from an application.
Hello, I'am trying to play a simple audio(.au) file from an application. When I run my application I only hear the beginning of the audio file. Here is the program. import sun.audio.*; import java.io.*; public class Sound { public void play(String soundfile){ File theFile = null; AudioData theData = null; AudioStream as = null; try { theFile = new File(soundfile); if (theFile != null) { InputStream fis = new FileInputStream(theFile); as = new AudioStream(fis); theData = as.getData(); } } catch (IOException e) { System.err.println(e); } AudioDataStream ads = new AudioDataStream(theData); AudioPlayer.player.start(ads); //try{ Thread.sleep(1500); } //catch(Exception e){ System.out.println("sleep failed"); } // AudioPlayer.player.stop(as); } public static void main(String[] args) { Sound snd=new Sound(); snd.play("sound.au"); } } When I unmark the sleep, I hear the whole audio file. But that is offcourse not the correct solution. I tested the application on different platforms and using severel jdk's with the same results. Playing the audio file with an audio tool works fine. Somebody a clue? Thanks for reading so far. Erik.
What does the future hold?
Hello folks, Let me start by saying I think everyone is doing a good job with making Java on Linux a reality. I came back from the Imprise (formerly Borland) Developers conference with a realization about how important Java is and how much more it will become. Dr. Alan Baratz was one of the technology keynote speakers. He fielded a question from the audience on (to paraphrase both question & answer) "What is JavaSoft doing or going to do to get Java running well on Linux?" His answer was that "we are working with a developer who is heading up the JDK/JVM work on Linux." Was he talking about this JDK/JVM (blackdown)? Is work being done now on 1.2 with support from JavaSoft? He also mentioned that the design philosopy of Java was to get it working, get a set of features, then later work on performance. He alluded that the first two are here and the second is coming with 1.2+. Is this the same philosophy of this JDK - get it working & compliant then work on performance bottlenecks? Sorry if the later sounds like a flame - it is by no means meant that way. Tom Jenkins for PGP key send mail with GET PGP KEY in subject
compiler crashes
Hi, I'll keep this brief since I submitted a bug (at blackdown, #112 incoming) with details. When compiling a big project (~150 source files), javac keeps crashing with: sun.tools.java.CompilerError: stackSize null at sun.tools.java.Type.stackSize(Type.java) at I've tried cranking up the stack size with java -ms32M sun.tools.javac.Main with the same result. Has anyone seen this (and hopefully found a way to fix it)? Thanks, dstn. - Dustin Lang, [EMAIL PROTECTED]
Re: compiler crashes
Yes, I've seen it on my system (RH 5.1) -- but if I continue to call javac from a script for more files it will eventually take out my entire system (quite a difficult task to do). I ended up switching to JIKES for compilations as it is much faster for compiling. At 12:20 PM 8/20/98 -0700, Dustin Lang wrote: >Hi, > >I'll keep this brief since I submitted a bug (at blackdown, #112 incoming) >with details. > >When compiling a big project (~150 source files), javac keeps crashing >with: > >sun.tools.java.CompilerError: stackSize null >at sun.tools.java.Type.stackSize(Type.java) > at > >I've tried cranking up the stack size with >java -ms32M sun.tools.javac.Main >with the same result. > >Has anyone seen this (and hopefully found a way to fix it)? > >Thanks, >dstn. > >- >Dustin Lang, [EMAIL PROTECTED] > > > > Steve Hier [EMAIL PROTECTED] (805) 988-1515 xt 157 (805) 988-4225 FAX -BEGIN PGP PUBLIC KEY BLOCK- Version: PGP for Personal Privacy 5.0 mQCNAi0qAewAAAEEAKsXpOLhaPdkVgiT6wnLOoTTmI8R+1/I5HfLhifoQyjWgbbn H2NeRv+kqH/rk624fiQg3KlRRO/bnegkTPPHHMaLYApi/J67zPXdnkSvdzR4XRCs yoaRR6PjIPeOOvX6aaj3FTYg4jGThwPlZAREoPyo08ZFW1REqMdWgpnYrtlNAAUR tBtTdGV2ZSBIaWVyIDxDSVMgNzA0MTMsMjY2MD4= =K8Cl -END PGP PUBLIC KEY BLOCK-