I have a java application that i want to run in haiku …it have dependencies with xul library (mozilla/firefox related) … any idea how to get xul in haiku?.. anyone can give some hints? apoligize me if my english is not good.thanks everyone…
There was BeZilla (http://www-archive.mozilla.org/ports/beos/) based on Mozilla but I think that’s deprecated now that WebPositive and QupZilla have replaced it.
You may find the XUL runtime from BeZilla may work for you.
BeZilla is very dated by now. For something a bit more recent, there was also an unbranded build of Firefox 3.0 (Minefield, I think it was?) that you could find and download for Haiku back in the BeBits/Alpha 4 days, though I’m not sure it would work on today’s Nightly builds or not. Last I tried it on was Alpha 4; today I use Web+ when on Haiku. Source for Firefox 3.0b1 is here: http://ftp.mozilla.org/pub/firefox/releases/3.0b1/source/
And here’s a link that should have results for old Firefox binaries from PulkoMandy’s BeOS software archive page: http://pulkomandy.tk/~beosarchive/index.pl?search=firefox
I hope this helps.
thanks @dwt … i will check your suggestion
thank you @apgreimann …
sure i’ll check your suggestion…
yesterday i try to check xulrunner form mozilla source… but it seem
compile it to haiku is beyond my capability
I think that XUL lives on in the MailNews (Thunderbird) recipe, which is where you should find the most up to date port we have.
thank you for everyone inovelved…
@dwt i try bezilla and can run but the application cannot run
@apgreimann i’ve been download from pulkomandy… firefox can run but java application cannot run
@PulkoMandy i have try your suggested application too but seem still stuck
i’ve change xulrunner path with application that application suggest by above people but still problem…
the main script runner is like this:
# a native browser, mozilla or webkit, should be automatically looker up at runtime.
# if not found, you can can uncomment the following lines and point to a valid
# Firefox or XULRnner installation. see for more info: http://www.eclipse.org/swt/faq.php#specifyxulrunner
VM_ARGS="-Xms20m -Xmx128m $ZEKR_BROWSER"
"$JAVA_CMD" $VM_ARGS -cp "$CLASS_PATH" $MAIN_CLASS $*
and error message is
Exception in thread “main” java.lang.UnsatisfiedLinkError: could not load SWT library. Reason:
no swt-gtk-4233 in java.libary.path
no swt-gtk in java.libary.path
/boot/home/.swt/lib/Haiku/x86/libswt-gtk-4233.so : missing library
i’ve been running other java application and run ok.
any help is very appreciated…
for more clearer task that i have done:
i’m change the startup script in section, remove remark and point into xulrunner
into application path that i get when application running and check process via terminal
and the result is list application
and when it throw error… i change other application…
and it is still failed…
What makes you think the problem is in any way related with XUL?
could not load SWT library
SWT has not been ported to Haiku yet. It needs native binding and apparently is trying to use GTK ones. We don’t have a GTK port, either. So there are two alternatives:
- Port GTK, and manage to build libswt-gtk using it, or
- Port SWT to another toolkit, for example the native Haiku one, or Qt.
Until then you can only use graphical java apps based on other toolkits: Swing or AWT.
@PulkoMandy thank you for your explanation… both option is seem difficult… right now…
thank you again for all…