Welcome, Guest. Please login or register.

Author Topic: Java for AmigaOS 4.0 and 3.9  (Read 5747 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline toRus

  • Full Member
  • ***
  • Join Date: Mar 2003
  • Posts: 122
    • Show all replies
Re: Java for AmigaOS 4.0 and 3.9
« on: July 04, 2003, 03:50:51 AM »
Just tried it. It didn't work at first.  I did a zip archive of the needed JDK 1.3.1 classes in my lame PeeCee and unarchived it at my Amiga's RAM. The problem was that some nested classes have rather long filenames (e.g. Hashtable$EmptyEnumerator.class) and unzip had to replace them with previously unarchived ones.
I opted to extract directly to my PFS3 partition and I had success (ran HelloWorld) even though some classes were still missing/replaced.
 

Offline toRus

  • Full Member
  • ***
  • Join Date: Mar 2003
  • Posts: 122
    • Show all replies
Re: Java for AmigaOS 4.0 and 3.9
« Reply #1 on: July 04, 2003, 04:30:24 AM »
OK, I used setfnsize to increase the max filenamesize of my HD partition. Be careful, once it is increased the only way to decrease or reset it to default value is reformat the partition !!!

I also tried JDK 1.4.2 classes. The included examples worked without problems. But when I tried some 1.4.x specific code though (regex) I crashed badly :-(
 

Offline toRus

  • Full Member
  • ***
  • Join Date: Mar 2003
  • Posts: 122
    • Show all replies
Re: Java for AmigaOS 4.0 and 3.9
« Reply #2 on: July 04, 2003, 04:37:42 AM »
Java is not open source (yet). But it's free, in a good way, not in a M$ way and it has tremendous support and upside.
Bringing Java to Amiga is not an easy task and I doubt it can happen without some serious support and changes in AmigaOS. But, if done, it could be the best thing that can happen to Amiga platform.