Its a sucky platform while execution speed may be comparable for longer running programs java programs lack the responsivness and lightweightness due to the requirement of a usually heavy VM and especially heavy in the case of OpenJDK VM.
That aside who really cares as long as it says merely optional and I am sure it will. Java isn’t so bad for some things I actually used it in a digital signal processing class recently oddly enough and it was much better than Matlab for our use case.
I will say one thing though Java is alot more fun if you have a decent autocompleting IDE…and if you are doing graphical programs a layout system like netbeans.
A long time ago there was a “Haiku apps repository” from Michel Clasquin-Johnson with very interesting and (at that time) executable Java software.
Since then I have been keeping an eye on “Ancestris” for Windows (https://www.ancestris.org/index.html , not to be confused with Ancestry).
It was available as version 0.9 (more like 9.x) in the professor’s repository.
I reported about this to Frédéric Lapeyre (President Ancestris Team) and shortly afterwards I found Haiku (albeit incorrectly) under ‘Download Linux’ as an OS + link to the repository of Prof. Clasquin-Johnson.
But that was a flash in the pan, because not long afterwards Ancestris could no longer start under Haiku. Most Java software doesn’t either. What a shame!
That’s also why we ask people to write recipes. A script can be rerun by someone else, modified, fixed…
Experience is much harder to transmit. It doesn’t mean the time spent by people is not appreciated, it’s just that it is more efficient to transmit written stuff.
And it’s totally possible to use haikuporter to repackage binaries btw…
<<<
Aaahh, so the professor ‘failed’ to write recipes !?
Despite the availability of OpenJDK + NetBeans for Haiku, the software still has to be ‘rebuilt’ in order to be able to use it with Haiku … this is probably even necessary ‘within’ the different Linux distributions …
Unfortunately it doesn’t help me, not even Haiku + JAVA and neither do the answers at Ancestris!
I am primarily a user. All answers received so far, no matter where and from whom, are unfortunately written in such a way that I could only use them if I am a freak or at least an ‘insider’.
It is probably better if I continue to use my old (also an older version) software (sometimes with serious errors, including data loss, but simply brilliant) under Windows.
I would have preferred to use Ancestris via haiku, but there are more important things in life!
Zurga from the Ancestris team gave me the following answer to my answer, which was similar to the previous post.
Are there any similarities or derivations?
OK, I will try to be less technic.
First install Java for Haiku. Prefer OpenJdk 11 rather than 13. (Long term support involved, but technic part).
Then download the zip file with all Ancestris distribution. (generic linux file or v11 package).
Unzip the content of Ancestris zip file in a directory.
In a command line console, go to bin directory inside ancestris directory.
Type ./ancestris
I installed openjdk11 from HaikuDepot, which also installed openjdk11_jre. However, ‘java’ could not be found until I also installed openjdk11_default.
Running ./ancentris resulted in… “an illegal reflective access by org.netbeans”
So, probably not very helpful to you but it does try to do something.
Update:
Using JDK8, I got the Ancestris splash screen, and then it crashed.
This is from the java debug report that got saved, if it helps anybody.
Frame IP Function Name
-----------------------------------------------
00000000 0x15bbe5af072 _kern_snooze_etc + 0xa
Disassembly:
_kern_snooze_etc:
0x0000015bbe5af068: 4989ca mov %rcx, %r10
0x0000015bbe5af06b: 48c7c0bb000000 mov $0xbb, %rax
0x0000015bbe5af072: 0f05 syscall <–
Thank you very much Austin (MrEntropy)!
Because I’m probably overwhelmed, I gave your answers to Zurga from the Ancestris team (forum).
There is great help there, but Haiku is probably unknown and NO Linux, MacOS or Windows.
Hi,
I think there will be less misunderstanding if I answer directly here.
Which version of Ancestris do you use ?
Only the version 10 and 11 are compliant with Jdk 11.
By the way, Ancestris 10 use Netbeans 8.2
Ancestris 11 use Netbeans 11.3.
Oh dear, I have to write a prize …
the Olivetti Programma 101 (around 1965, with it, the coordinates were calculated for the first flight to the moon) but I would like to keep …
Uh. Let’s see. Ancestris 10, I would say. With JDK 8 I get the splash screen and the log file. I can’t seem to attach files so I can send it to you another way, if you like.
If I use JDK 11 I don’t get a splash screen, but it still crashes.
As far as I can see, netbeans on Haiku is at version 8.2-1