Just thought I'd remind you about my problem ;o) Has anyone got a clue about what I need to do to solve the wine/java problem below? - Anders Anders R?nningen wrote: > Dan Kegel wrote: > >> anders.ronningen@tandberg.net wrote: >> >>> I am using wine to compile code for Texas Instruments dsp's. One step >>> in the process is generating code from a graphic configuration file >>> (tcf). When I try to do that, it fails with some Java related >>> messages. The -b in my command tells tconf.exe to run in batch mode, >>> so it doesn't try to open a GUI or something like that. I ran the >>> same command in a dos-shell and it worked like a charm. >>> >>> Log: >>> >>> wine c:/updates/bios_5_20_01/xdctools/tconf -b >>> -Dconfig.importPath=c:/updates/bios_5_20_01/packages tiger.tcf >>> err:font:ReadFontDir Can't open directory >>> "/home/anr/.wine/dosdevices/c:/WINNT/Fonts" >>> err:font:ReadFontDir Can't open directory "/usr/share/fonts/ttf/western" >>> Please use the registry key HKEY_CURRENT_CONFIG\Software\Fonts\LogPixels >>> to set the screen resolution and remove the "Resolution" entry in the >>> config file >>> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 >>> at >>> sun.util.calendar.ZoneInfoFile.createZoneInfo(ZoneInfoFile.java:527) >> >> >> >> A few questions: >> 1) Which version of Wine are you using? >> 2) What's the name of the TI development software you're using? >> Is it Code Composer Studio, >> >> http://focus.ti.com/dsp/docs/dspsupportnp.tsp?sectionId=3&tabId=451&familyId=44 >> >> ? If so, we have a page about it at >> http://appdb.winehq.org/appview.php?appId=2034 >> 3) What version of that software are you using? >> 4) Have you been using it successfully with wine for long, or is this >> your first try? >> 5) Java, eh? Can you tell what version of the Java runtime it's using? >> - Dan >> > Just tried with Wine 0.9, but that didn't work either. > > - Anders
Anders R?nningen wrote:> Just thought I'd remind you about my problem ;o)Reminders are fine, but you might want to do some legwork yourself and address Dan's questions (3, 4 and 5 seem unanswered) before reposting.> Has anyone got a clue about what I need to do to solve the wine/java > problem below?[snip]> Exception in thread "main": java.lang.ArrayIndexOutOfBoundsException: 0 > at sun.util.calendar.ZoneInfoFile.createZoneInfo(ZoneInfoFile.java:527)The error message is exceptionally clear? As per http://www.sun.com/software/communitysource/j2se/java2/, the source code for Java is available. So I would suggest that you find the source code that corresponds to the Java runtime version you're using. Then look in ZoneInfoFile.java on line 527. There obviously should be at least one entry in the array that it's accessing, so find out where the array comes from. Most likely it's calling something in Wine to retrieve the array, and Wine is not returning correct results - from there a Wine developer can hopefully offer more comments. Other than that, there might be a WINEDEBUG switch that will give you more information about calendar related stuff in Wine - you might want to look at that as well. I've spent 10 minutes googling site:winehq.org for the list of debugging channels and couldn't find it, ahem, but it's out there somewhere :-).
Actually I answered his questions on the 2. of january.> > 1) Wine 20050211 > 2) & 3) Code Composer Studio v3.10, with DSP/BIOS v5.20. But I am not > using the GUI, only the compiler/linker executables under wine. > 4) I have been using the setup with success for a long time, but when > I upgraded to DSP/BIOS 5.20, the process to generate c-kode from the > configuration file changed. It's that process that fails now. > 5) There's a readme for v1.4.2 of jre, so that may be the one.Thanks for the answer. I'll check it out. - Anders Molle Bestefich wrote:>Anders R?nningen wrote: > > >>Just thought I'd remind you about my problem ;o) >> >> > >Reminders are fine, but you might want to do some legwork yourself and >address Dan's questions (3, 4 and 5 seem unanswered) before reposting. > > > >>Has anyone got a clue about what I need to do to solve the wine/java >>problem below? >> >> >[snip] > > >> Exception in thread "main": java.lang.ArrayIndexOutOfBoundsException: 0 >> at sun.util.calendar.ZoneInfoFile.createZoneInfo(ZoneInfoFile.java:527) >> >> > >The error message is exceptionally clear? > >As per http://www.sun.com/software/communitysource/j2se/java2/, the >source code for Java is available. > >So I would suggest that you find the source code that corresponds to >the Java runtime version you're using. > >Then look in ZoneInfoFile.java on line 527. There obviously should be >at least one entry in the array that it's accessing, so find out where >the array comes from. Most likely it's calling something in Wine to >retrieve the array, and Wine is not returning correct results - from >there a Wine developer can hopefully offer more comments. > >Other than that, there might be a WINEDEBUG switch that will give you >more information about calendar related stuff in Wine - you might want >to look at that as well. I've spent 10 minutes googling >site:winehq.org for the list of debugging channels and couldn't find >it, ahem, but it's out there somewhere :-). > >