Apps that i use on Haiku (OpenJDK)

Forum thread started by Giova84 on Wed, 2012-07-25 16:56

This post is an "Updated version" of: http://www.haiku-os.org/community/forum/what_apps_do_you_need_haiku

Thanks to OpenJDK i am able to run a lot of useful software!
Ok is not native, but i consider the fact that now, on Haiku i can do a lot of things.. And new users that read this thread can say: "Hey! i can use Haiku for doing this!"

Java software on Haiku:

Pixelitor:
Is an image manipulation software:
Pixelitor

FidocadJ:
A multi-platform editor for electronics
FidocadJ

MicroEmulator:
An mobile phones emulator (here i'm using a jar app for sending SMS)
MicroEmu

Jajuk:
Jukebox/music manager (I'm waiting PCM support by Hamish!)
Jajuk

Makagiga:
To-do manager, notepad, image editor, feed reader and much more
Jajuk

JAP:
Web Anonymizer
JAP

Jmap:
Port Scanner
Port Scanner

Glips Graffiti:
SVG image editor
SVG Editor

Memoranda:
Diary manager and a tool for scheduling personal projects
Memoranda

Flickr Edit:
Edit, upload or backup your Flickr photos
Flickr Manager

Photo Scale:
Resize a batch of photo and optionally changes the format
Jajuk

Picasaweb Client:
Manages your albums and photos on Google Picasa

Jajuk

JAlbum:
An photo album/image gallery creator
JAlbum

Album2

This is a very cool software!
Here a very quick result:
http://giova84.zxq.net/album1.html

And as i've said in another thread i'm also running Thinkfree office!

Comments

Re: Apps that i use on Haiku (OpenJDK)

So what are the steps needed to get these programs running?

Re: Apps that i use on Haiku (OpenJDK)

First af all you need OpenJDK from Hamish, you can find the link to current release here: https://www.haiku-os.org/blog/hamish/2012-07-14_openjdk_port_midterm_report and extract the archive in /boot/apps
Then go on http://sourceforge.net/ and you can find these and much more java applications.
2: put the jar file in a folder. For example: /boot/apps/myjarfolder
3: link the "jre" folder located in /boot/apps/j2sdk-image inside /boot/apps/myjarfolder
So the jar file will be present in /boot/apps/myjarfolder/myjarfile.jar
4: made a script like this:

#!/bin/bash

###########################
### CONFIGURATION START ###
export JAVA_HOME=/boot/apps/myjarfolder/jre
export PATH=$PATH:/boot/apps/myjarfolder/jre/bin
export LIBRARY_PATH=/boot/apps/myjarfolder/jre/lib/i386/:$LIBRARY_PATH

cd /boot/apps/myjarfolder

java -jar myjarfile.jar

make the script executable and enjoy!

Edit: Jajuk on sourceforge is outdated. You can get the last release on http://jajuk.info/index.php/Main_Page
Once you have download Jaujuk, you need to exec using "java -jar" command, the installer jar file.

Re: Apps that i use on Haiku (OpenJDK)

Shouldn't it be possible to set up haiku so that all jar files are associated with running java -jar ?

I'm pretty sure I've seen this done before..

Re: Apps that i use on Haiku (OpenJDK)

cb88 wrote:

Shouldn't it be possible to set up haiku so that all jar files are associated with running java -jar ?.

I don't know.. But you can set
export JAVA_HOME=/boot/apps/j2sdk-image/jre
export PATH=$PATH:/boot/apps/j2sdk-image/jre/bin
export LIBRARY_PATH=/boot/apps/j2sdk-image/jre/lib/i386/:$LIBRARY_PATH

inside UserSetupEnvironment to be quicker in writing of script..

Re: Apps that i use on Haiku (OpenJDK)

cb88 wrote:

Shouldn't it be possible to set up haiku so that all jar files are associated with running java -jar ?

I'm pretty sure I've seen this done before..

But in any way, sometimes jar files needs:

java -cp jarfile1.jar:jarfile2.jar

and sometimes the -Xms=ram and others memory arguments.

Re: Apps that i use on Haiku (OpenJDK)

But there is also a good native software, not only Java!
I'd like to show that with Haiku you can manage at the best your computer!
For example here I show a way to restrict the access on Haiku:

Lock Haiku>

And if you insert a wrong name:

Lock Intruder

This is: http://haikuware.com/directory/view-details/development/sample-code/lock... and is fully customizable: I made this graphics using the wonderful WonderBrush! :-D

Re: Apps that i use on Haiku (OpenJDK)

I've tried JDownloader differently from your system I had to create a link of the Jdownloader.jar in the JDownloader directory, it uses a lot of jar library with hardcoded paths.

It installs, does an upgrade too and a little slowly it appears the GUI!

Sadly it doesn't download anything, it says there aren't link in any page, but the same links on Windows works so it's not true.

I've see it uses JBrowser to download, in Windows uses the system default browser instead (Firefox in my case), I suppose this is the problem...

So I've tried to configure it to use WebPositive, but it try to open it and then it closes (core?) so nothing to do.

Using BeZillaBrowser gives me the same results: no link founds.

In Bterminal I can see a lot of excpetion referring to closed sockets...

Re: Apps that i use on Haiku (OpenJDK)

You could try to using retriever (http://www.halogenware.com/software/retriever.html) works much better and is fully automatic: when you copy a link from you browser, retriever automatically ask where to save this file, and you can also configure retriever by file extension. For example i have configure retriever to automatically save jpeg files inside "Image" folder, zip files inside "Downloads" folder and so on for every file extension.

Retriever

Re: Apps that i use on Haiku (OpenJDK)

Correct me if I'm wrong but it seems a sort of "Download Accelerator", JDownloader permits to download from youtube, rapidshare, putlocker, uploading and from some streaming sites...

It has automatically captcha recognition, autoresume, automatically extraction of compressed archives (with password, too)...

See here:
http://jdownloader.org/

Re: Apps that i use on Haiku (OpenJDK)

WeirdX - X Window System server in pure Java (OpenJDK) on Haiku:

Weird X

http://www.jcraft.com/weirdx/

Re: Apps that i use on Haiku (OpenJDK)

Not sure if it's just me, but you only seem to be able to run one Java app at a time. I was able to get muCommander running but then when I tried to open Jomic, it wouldn't load until I shutdown muCommander.

Is that normal ?

Re: Apps that i use on Haiku (OpenJDK)

Hi,

I am able to run more then one java app at time.
Have you followed my instructions? You have to link (not copy or move) the "jre" folder located in /boot/apps/j2sdk-image (for example) inside of every java app's folder.
Let me know.

Re: Apps that i use on Haiku (OpenJDK)

I was making bash scripts like this:-

#!/bin/bash
 
###########################
### CONFIGURATION START ###
export JAVA_HOME=/boot/j2sdk-image/jre
export PATH=$PATH:/boot/j2sdk-image/jre/bin
export LIBRARY_PATH=/boot/j2sdk-image/jre/lib/i386/:$LIBRARY_PATH
 
cd /boot/home/javaapps
 
java -jar mucommander.jar

and found I could only run one app at a time.

I then did as suggested and added the export lines into the UserSetupEnvironment and I can launch multiple apps at once. Trap for young players.

Re: Apps that i use on Haiku (OpenJDK)

All right!

But in anyway you can consider to submit here your favourites java apps that you run on Haiku! For example muCommander is a nice app! :-)

Re: Apps that i use on Haiku (OpenJDK)

Jomic - a viewer for comic book archives
Jomic

Re: Apps that i use on Haiku (OpenJDK)

Is there a good word processor in Java that we can try?

Re: Apps that i use on Haiku (OpenJDK)

AndrewZ wrote:

Is there a good word processor in Java that we can try?

Sure: Thinkfree.
Haiku Office

Re: Apps that i use on Haiku (OpenJDK)

Are there some instructions available for java and ThinkFree Office? Many thanks!

Java apps: Multimedia





Java apps












Java apps: Games







Java apps: Development







Re: Apps that i use on Haiku (OpenJDK)

hello
this question has been asked already but i'll ask it again,
are there any instructions on how to use thinkfree office on haiku?

thanks.

Re: Apps that i use on Haiku (OpenJDK)

I make a ThinkFree Office package based on the trial linux version. Add binary launchers instead of the shell-scripts. Add utility for registration all supported file types. Maybe it violates the license agreement, but i can't see any way to run this program under haiku. I send mail about this problem to the ThinkFree company a month ago, but they not responded.

https://dl.dropbox.com/u/4494939/javasoft/TFO-4.0.1480.201-haiku-retail-...

Java Apps: Emulators

Java Apps: OpenProj

Re: Apps that i use on Haiku (OpenJDK)

Nice screenshots, 3dEyes!

Another from me:
Frinika Music Workstation on Haiku

Frinika

Re: Apps that i use on Haiku (OpenJDK)

Re: Apps that i use on Haiku (OpenJDK)

Re: Apps that i use on Haiku (OpenJDK)

Might be better to make a script that repackages Thinkfree Office... so you could just run it to get the latest. And it would probably avoid license concerns.

Re: Apps that i use on Haiku (OpenJDK)

I thought about it. It's a good idea. I'll try.

ThinkFreee Office 4.0 installer

This script - TFO4Installer-0.1a.sh.zip:
1. Download mac version of TFOffice from official site.
2. Download JRE.
3. Download my binary launchers for office.
4. Extract required files from mac distribution
5. Install TFOffice into /boot/apps directory
6. Make deskbar menu links

If you want installing office offline, you must manually download this files and put them into script directory:
http://s3.amazonaws.com/TFO-Trial/TFO-4.0.1480.183-mac-en-retail-9TF-tri...
http://dl.dropbox.com/u/4494939/javasoft/jre.zip
http://dl.dropbox.com/u/4494939/javasoft/tfo4launcher.zip

Re: Apps that i use on Haiku (OpenJDK)

hello 3deyes
thanks alot for the links and the this script,but for me think office doesn't seem to work properly,writer launches but i can't write nor read anything tried opening a RTF doc opens a zombie blank page,and calc sucks up all my ram,but that could be because i'm using a somewhat older rev hrev:44295-gcc2-h,or maybe it's because it's a gcc2-h system?
but there is another office,called j-office did you try that one?
http://joffice.eu/htdocs/1/index.html

Re: Apps that i use on Haiku (OpenJDK)

JOffice requires SWT library, which is missing in haiku port.

Re: Apps that i use on Haiku (OpenJDK)

I tested the TFOffice in gcc2hybrid, gcc4only, gcc4hybrid - everything works. This is a very strange bug. I have seen this bug when running in a virtual machine only. I started working system with a working office via qemu in Linux (ex. qemu -m 1024 -hda /dev/sd....) . The working area is not drawn. On real hardware it works fine.

Re: Apps that i use on Haiku (OpenJDK)

khallebal wrote:

hello 3deyes
thanks alot for the links and the this script,but for me think office doesn't seem to work properly,writer launches but i can't write nor read anything tried opening a RTF doc opens a zombie blank page,and calc sucks up all my ram,but that could be because i'm using a somewhat older rev hrev:44295-gcc2-h,or maybe it's because it's a gcc2-h system?
but there is another office,called j-office did you try that one?
http://joffice.eu/htdocs/1/index.html

I have the same problems. Calc freezes Haiku, so that you can not do anything. You have to reset

hrev44543 gcc4h on real hardware.

The installation looks cool. Sh script and notifications beside Deskbar.

Re: Apps that i use on Haiku (OpenJDK)

RAM size?
You can try playng with the start parameters of java. You can change the size of the heap and stack in the startup file - /boot/home/config/settings/tfo4/startup.

Important: Startup file should be only ONE line. Without NewLine at the end.

Re: Apps that i use on Haiku (OpenJDK)

Thinkfree Office works fine for me since hrev44384. Now i run hrev44543 and still works fine.
On my system (real hardware) i have 6 GiB of ram.

Re: Apps that i use on Haiku (OpenJDK)

Everything works except printing or saving to PDF,

There is a missing font something file for saving to PDF.

ThinkFree Office cannot find a printer. I bet this is an OpenJDK issue.

Re: Apps that i use on Haiku (OpenJDK)

bbjimmy wrote:

Everything works except printing or saving to PDF

Is the same for me.

bbjimmy wrote:

ThinkFree Office cannot find a printer. I bet this is an OpenJDK issue.

I think is due to the fact that OpenJDK port for Haiku, at the moment has no support for printing.

Re: Apps that i use on Haiku (OpenJDK)

Someone can try on latest Haiku Nightly these three java applications? (first of all you need to compile the latest OpenJDK for Haiku with PCM/Audio support)

http://jajuk.info/index.php/Main_Page

http://code.google.com/p/jukes/downloads/list

http://www.atunes.org/?page_id=6 (Cross-platform Installer)

These three apps, when i attempt to play any audio file, crashs media_addon_server.

Thanks!

Re: Apps that i use on Haiku (OpenJDK)

Yes I would much appreciate it if folks could test out some audio apps. Audio output works fine for me but it seems others have had issues with it. Here's a recent build with audio support: http://dl.dropbox.com/u/61946213/j2sdk-august.tar.xz

Re: Apps that i use on Haiku (OpenJDK)

3dEyes wrote:

RAM size?
You can try playng with the start parameters of java. You can change the size of the heap and stack in the startup file - /boot/home/config/settings/tfo4/startup.

Important: Startup file should be only ONE line. Without NewLine at the end.

1 GB RAM

OK. I just have to find the time to do it...

Re: Apps that i use on Haiku (OpenJDK)

3deyes - thanks for this installer script. I haven't yet used any other programs except TFoffice, but having access to a modern office suite is such a life saver. Think I'll likely end up buying this...

Re: Apps that i use on Haiku (OpenJDK)

I did not check the office after activation, because I didn't buy it. it. I'm not sure it is working after that.

Re: Apps that i use on Haiku (OpenJDK)

Are there any news about the printing support or the pdf-creation-ability for Thinkfree Office/OpenJDK on haiku?

Re: Apps that i use on Haiku (OpenJDK)

Shape Collage on Haiku:

Shape Collage On Haiku

Re: ThinkFreee Office 4.0 installer

The script no longer works with the latest Haiku. It looks like the changes made to the file system permissions don't allow it to install anymore. Are these changes due to the new package manager? Can anyone fix the script?

Thanks,
Scott

Re: ThinkFreee Office 4.0 installer

i suppose this will not work on old low specs machine. any good web browser for java?

Re: ThinkFreee Office 4.0 installer