Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline gnarly

  • Sr. Member
  • ****
  • Join Date: Feb 2002
  • Posts: 351
    • Show only replies by gnarly
    • http://thinkdrastic.net/
Re: Java for AmigaOS 4.0 and 3.9
« Reply #14 from previous page: July 03, 2003, 02:48:27 PM »
This is promising - they actually have something to show for their work so far.

Hopefully some people will join in and help now...
Cheers,

Olly
Think Drastic
 

Offline amigamad

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2159
    • Show only replies by amigamad
Re: Java for AmigaOS 4.0 and 3.9
« Reply #15 on: July 03, 2003, 03:15:50 PM »
HOW TO INSTALL JAMIGA

Only a few simple steps to get this thing running:

1.) Obtain the JAmiga-package, unzip it into any folder of your choice.

2.) Go to sun's website (http://java.sun.com/j2se/1.3/download.html) and download their JDK 1.3.1 (1.4.x should also work) for a platform of your choice (well, you should HAVE that platform...)
ATTENTION! We recommend that you chose the Windows Version. Others have NOT been tested!

3.) find the location of the rt.jar - file that's included in the JDK

4.) use jar to "unzip" it  >jar xvf rt.jar (a UNZIP Utility should work as well, you may have to rename the file into rt.zip)

5.) copy the folders /java/lang, /java/io and /java/util to the same folder as the JAmiga-executable is (if you go via network you may want to zip it up again)

6.) Now JAmiga *should* work

try:

JAmiga -?  
  > prints some help

JAmiga HelloWorld
  > Runs the HelloWorld - class (guess what it does)

JAmiga -p HelloWorld
  > Produces (a lot of) debug output for the class

ENJOY !!!
 :-)

I have not tried it this is just the info on installing it taken from the archive
I once had an amigaone xe but sold it .

http://www.tamiyaclub.com
 

Offline Herewegoagain

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 653
    • Show only replies by Herewegoagain
    • Http://www.ncscaug.us
Re: Java for AmigaOS 4.0 and 3.9
« Reply #16 on: July 03, 2003, 05:27:00 PM »
So has anyone attempted this?  And if so, has anyone tried it under OS3.5?  I'm assuming that JAmiga is dependent on something specifically in OS3.9 or greater.
North and South Carolina Users interested in a \\\'local\\\' user group should visit NCSC Amiga Users Group page and sign up for membership. It\\\'s free!
 

Offline elendil

  • Sr. Member
  • ****
  • Join Date: Nov 2002
  • Posts: 324
    • Show only replies by elendil
    • http://www.idiot.fnuck.dk
Re: Java for AmigaOS 4.0 and 3.9
« Reply #17 on: July 03, 2003, 06:13:22 PM »
I will definately look forward to when it is up to date in, say, a week or so.

You better step on it, developers :)

Sincerely,

-Kenneth Straarup.
 

Offline toRus

  • Full Member
  • ***
  • Join Date: Mar 2003
  • Posts: 122
    • Show only replies by toRus
Re: Java for AmigaOS 4.0 and 3.9
« Reply #18 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 ronybeck

  • Jr. Member
  • **
  • Join Date: Oct 2002
  • Posts: 51
    • Show only replies by ronybeck
Re: Java for AmigaOS 4.0 and 3.9
« Reply #19 on: July 04, 2003, 04:12:19 AM »
Quote
The Open Source way is the one to go


Yes!!  This is what people don't understand.  Open Source is what M$ is afraid of.  A skillful programer can make Open Source Software work on Amiga OS4 in a short amount of time.  This makes the prospect of filling the OS4 software profile not so daunting and with in a much shorter space of time.

What do other people think?
================================================
Did you just call me paranoid?
================================================
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show only replies by KennyR
    • http://wrongpla.net
Re: Java for AmigaOS 4.0 and 3.9
« Reply #20 on: July 04, 2003, 04:30:07 AM »
Open sourcing has its good and bad points. It's not the super-solution you all seem to think it is. The good things are: its free, stuff can be easily ported (in theory), and development doesn't rely on a single author.

But the bad things are that it can make too many versions of a single program, that the standard of open source code often falls FAR behind commercial stuff, and that often the code gets so mangled and bloated by different coders that it gets neigh on impossible to port. Mozilla anyone?
 

Offline toRus

  • Full Member
  • ***
  • Join Date: Mar 2003
  • Posts: 122
    • Show only replies by toRus
Re: Java for AmigaOS 4.0 and 3.9
« Reply #21 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 only replies by toRus
Re: Java for AmigaOS 4.0 and 3.9
« Reply #22 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.
 

Offline TurboLaban

  • Newbie
  • *
  • Join Date: May 2002
  • Posts: 21
    • Show only replies by TurboLaban
    • http://home.c2i.net/ghisdal/
Re: Java for AmigaOS 4.0 and 3.9
« Reply #23 on: July 04, 2003, 10:19:04 AM »
Quote
Java is not open source (yet)


Well, actually, it is. You can get the source code to the J2SE on Suns java pages.
http://wwws.sun.com/software/java2/

The license is quite strict, though...

--
Glenn Hisdal
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Java for AmigaOS 4.0 and 3.9
« Reply #24 on: July 05, 2003, 10:11:38 PM »
Quote
being open source, this should at one point get ported to AROS and MOS... Maybe then, the first person to package Jazilla as an amiga program will get the Amizilla bounty?


Yup, If it's open source and compiles on AmigaOS, an AROS port will be quick and simple.