Archiv verlassen und diese Seite im Standarddesign anzeigen : Project X on macosx (English)
Hi all,
i have compiled the sources correctly,
but when i run it, the program starts,
an icon appears on the dock bar but nothing appens.
My computer is an Imac 15" flat panel with macos X 10.2.26 with jdk 1.4.1
dvb.matt
21.09.2003, 20:32
well, it have to work on MAC, too. :?
but I don't have any clue, how..
try to execute java -jar 'xyz'.jar (psb. with leading path infos) in the commandline (to get start/error messages)
Hi,
i started ds.jar in a shell (like a windows command line),
there are no errors, an icon appears on the dockbar (like the task bar on win), but nothing more happens, if i pressl ctrl+c on the shell the icon desappear in i get the prompt.
I think that there is an incompatibility of the swing routines and the implementation of the apple jdk that is included in macosx and that cannot be changed.
dvb.matt
24.09.2003, 20:47
there are no errors
but the start messages appears, on stdout (->System.out.print() ) ? i.e. the X version, commandline options, terms a.s.o.
on linux there's often the error report of x.swing incompatibilities.
IIRC some users reported a well functionality on MAC few months ago.
maybe I find these messages..
there are no errors
but the start messages appears, on stdout (->System.out.print() ) ? i.e. the X version, commandline options, terms a.s.o.
on linux there's often the error report of x.swing incompatibilities.
IIRC some users reported a well functionality on MAC few months ago.
maybe I find these messages..
No, no message appear on the terminal......
The X version i use is the only one for macosX distributed by apple.
dvb.matt
29.09.2003, 18:53
No, no message appear on the terminal......
hmm, these messages should ever print out on stdout (like the DOS Box console, but only if you start it from there) just before any GUI component is loaded...
this (http://developer.apple.com/documentation/Java/Conceptual/Java141Development/UI_Toolkits/index.html) may provide more infos..
you start without X.ini ? (-> in X there's no l&f pre-defined, so the OS std is used) in that way (http://developer.apple.com/documentation/ReleaseNotes/Java/java141/multiplevms/chapter_3_section_4.html)
Doc Bobo
04.10.2003, 12:55
Some notes from my side:
- I never had any problems running ProjectX (or ds.jar) on MacOS X. Not with any precompiled version nor when I compiled it myself.
- Running Java applications with UI on MacOS X doesn't rely in any way on an X server.
- I noticed that starting ProjectX takes quite some time. In fact, on my TiBook 667 it takes several seconds until even an icon appears in the dock. This seems due to the implementation of the Apple VM which shares pre-compiled code between VM instances. Starting the first JavaVM always takes longer than on comparable windows systems. Even after the icon appears in the dock, it may take several seconds until the application window shows up on the screen!
One additional question: what version of the JavaVM are you currently using (check from the shell via "java -version")? I am currently running 1.4.1_01, so if you got an older version this might be a hint...
Cheers
The version of my JVM is:
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-69.1)
Java HotSpot(TM) Client VM (build 1.4.1_01-24, mixed mode)
I downloaded the source, compiled it , create the jar and finally run the jar.
When i run the jar an icon appears on the dockbar, the mouse cursor change until i move the mouse then return normaly... i waited for 30 sec... but nothing happens the icon is still present on the bar but no window opens,
the terminal window is busy.
This is what appears on the terminal window:
bash-2.05a$ java -jar px.jar
no messages appears.
dvb.matt
04.10.2003, 23:23
bash-2.05a$ java -jar px.jar
X also work in CL mode, so try to add a file as input bash-2.05a$ java -jar px.jar INPUT and see what happens (i.e. it has to demux it on std settings into the same directory)
bash-2.05a$ java -jar px.jar
X also work in CL mode, so try to add a file as input bash-2.05a$ java -jar px.jar INPUT and see what happens (i.e. it has to demux it on std settings into the same directory)
Nothing happens:
bash-2.05a$ java -jar px.jar RAI1.ts
dvb.matt
05.10.2003, 15:33
then I am sorry, _I_ can't help you.. :(
then I am sorry, _I_ can't help you.. :(
Anyway i whish to thank you for your attention :)
I FOUND THE SOLUTION!!!!
The issue was that when i installed MacOsX i choose to format the HD in the unix format (ext2), now i have re-installed it but choosing HFS+ (the apple file system) as the file system on the HD and now the jar works correctly!!!!!
I think this is a bug of the Apple JVM.
Thanks for your patience.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.