amiga.org
     
iconAll times are GMT -6. The time now is 10:09 AM. | Welcome to Forum, please register to access all of our features.

» Amiga.org » Amiga computer related discussion » Amiga Tutorials » Coding Java Apps and Games on Classic Amigas?

Amiga Tutorials In this forum, you'll find tutorials for AmigaOS and other forward-looking products.

Reply
 
Thread Tools Display Modes
Old 07-15-2004, 10:50 PM   #1
gizz72
Cult Member
Points: 11,754, Level: 71 Points: 11,754, Level: 71 Points: 11,754, Level: 71
Activity: 3% Activity: 3% Activity: 3%
 
gizz72's Avatar
 
Join Date: Mar 2004
Location: Republic of forgotten Amigas; Php
Posts: 815
Blog Entries: 1
Default Coding Java Apps and Games on Classic Amigas?

Greetings,

I want to learn to code in Java. So...

* Can't I start here on the Amiga?
* Are there any tutorials or PL and other documentation for total beginners like me?
* Are there any certain requirements on Hardware/software?
* Should I need a background on other PL like Basic, ASM or C++, etc..?
* What are their similarities/differences from other PL?
* Is this JAVA 'package' available anywhere to be purchase or freely downloadable?
* Although, I found some JAVA on AMINET but I not sure which is recommendable?(A1200/030/16MB/1GBHDD)
* So I've heard JAVA is portable to other platform, If compilation is possible, can I port this to my Java Enabled Mobile? (Nokia 6600)

Thanks for the opinions, links, and info regarding JAVA.

Gizz
__________________
Good day to all Amigans!

MARGE - P3 DellOptiplex 220; 225 MB; Dual Partitioned WinXpSP3 and IcarosDesktopv1.4.x
MANNY - A1200 + CobraDKB '030 w/ 32MB + DataFlyer HDD
ASPIREOne D270 + Sata SSD 512GB - Hosted AROSAspireone but it is very slow.
gizz72 is offline   Reply With Quote
Old 07-15-2004, 11:10 PM   #2
Kent
Cult Member
Points: 6,453, Level: 52 Points: 6,453, Level: 52 Points: 6,453, Level: 52
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2002
Posts: 680
Default Re: Coding Java Apps and Games on Classic Amigas?

If you are starting from ground zilch, you should start with a solid foundation. If you are sure you want Java as your language of choice, you should start with a damn good resource book for beginners. The best recomendation I can give you is the Core Java Fundamentals Volume One. Keep in mind that Java is good for starters, but you'll want to evaluate why you are looking at Java. Currently Java is not in a good state on the Amiga, but it's slowly building up steam. Next, look at the pros and cons of the languages and what you want to program overall. Learn the core values and build a solid foundation. If you want a good language to really dig into on the Amiga which can be taken to almost any platform, that would be C or C++.

__________________
I love the modern age world of this middle age crises America... all these SUVs driving around like there\'s gas to spare and then some.

www.RequestFocus.com

W. Kent Seaton ~ RequestFocus.com
Kent is offline   Reply With Quote
Old 07-16-2004, 03:41 AM   #3
odin
Colonization had Galleons
Points: 21,347, Level: 91 Points: 21,347, Level: 91 Points: 21,347, Level: 91
Activity: 8% Activity: 8% Activity: 8%
 
odin's Avatar
 
Join Date: Feb 2002
Location: Asker, Norway
Posts: 6,706
Default Re: Coding Java Apps and Games on Classic Amigas?

Quote:
Kent wrote:
you should start with a damn good resource book for beginners. The best recomendation I can give you is the Core Java Fundamentals Volume One.
<plug>
If anybody is interested; I have that book and am doing nothing with it. I can't look up the exact revision of the book atm, but it was bought in 2000. CD included ofcourse. P/Email me if y'r interested.
</plug>
odin is offline   Reply With Quote
Old 07-16-2004, 06:19 AM   #4
gizz72
Cult Member
Points: 11,754, Level: 71 Points: 11,754, Level: 71 Points: 11,754, Level: 71
Activity: 3% Activity: 3% Activity: 3%
 
gizz72's Avatar
 
Join Date: Mar 2004
Location: Republic of forgotten Amigas; Php
Posts: 815
Blog Entries: 1
Default Re: Coding Java Apps and Games on Classic Amigas?

@Odin

I'm interested. PM you awhile back.

Regards,

Gizz
__________________
Good day to all Amigans!

MARGE - P3 DellOptiplex 220; 225 MB; Dual Partitioned WinXpSP3 and IcarosDesktopv1.4.x
MANNY - A1200 + CobraDKB '030 w/ 32MB + DataFlyer HDD
ASPIREOne D270 + Sata SSD 512GB - Hosted AROSAspireone but it is very slow.
gizz72 is offline   Reply With Quote
Old 07-30-2004, 01:56 AM   #5
dambala
Merely Curious
Points: 3,635, Level: 37 Points: 3,635, Level: 37 Points: 3,635, Level: 37
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2004
Posts: 12
Default Re: Coding Java Apps and Games on Classic Amigas?

I don't know anything about the combo AMIGA Java, but for sure I can say Java is a wonderfull language.
And now it is becoming faster, it has hardware acceleration on a lots of platforms, and in the future I bet that processors will have a microcode to exec bytecode directly.

I'm writing games (applets and not) in Java and I'm happy for the result. I've coded in assembly, C/C++ and other languages so I can see the differences.
Java is much simplier, and simplier to debug.
dambala is offline   Reply With Quote
Old 07-15-2004, 11:18 PM   #6
whabang
Guru Meditator
Points: 20,820, Level: 90 Points: 20,820, Level: 90 Points: 20,820, Level: 90
Activity: 2% Activity: 2% Activity: 2%
 
whabang's Avatar
 
Join Date: Mar 2002
Location: Amager
Posts: 7,188
Send a message via ICQ to whabang
Default Re: Coding Java Apps and Games on Classic Amigas?

Coding Java on the miggy wouldn't be much use, except for cell-phone applications, as the cell-phones have a similar computing capacity.
__________________
Beating the dead horse since 2002.
whabang is offline   Reply With Quote
Old 07-15-2004, 11:19 PM   #7
BigBenAussie
Technoid
Points: 7,230, Level: 56 Points: 7,230, Level: 56 Points: 7,230, Level: 56
Activity: 18% Activity: 18% Activity: 18%
 
Join Date: Feb 2004
Posts: 314
Send a message via MSN to BigBenAussie
Default Re: Coding Java Apps and Games on Classic Amigas?

I guess I will be the first one to say it...
EDIT: Arrgh you beat me!!!

NO!!!

There is no Java for the classic Amiga line.
There is no AmigaOS hosted Java YET for the next gen Amiga line either.

There is a clean java virtual machine in the works called JAmiga but I would think that is only reasonable for the next gen machines and that is nowhere near complete either.

Also, AmigaDE, which is sure to be ported to the A1 at some point in the future and maybe even PegasOS will feature Java compilation, but that is probably limited to J2ME or personal Java dialects which are prominent on PDAs and perhaps your mobile phone. The difference in dialect may cause you to have trouble with the port of Java for the desktop without AmigaDE in that case.

You can buy the AmigaDE SDK right now if you like, but its take up appears to have been disasterously low, but I think everyone is hanging back to see if AmigaInc enhance it and whether it becomes integrated in the AmigaOS. IMHO it a cool tech and it would be a shame if it was not hosted as standard on AmigaOS.

Maybe if you run Linux on your classic hardware you might have a chance of writing java but even then I doubt it.

There is a vbcj(?) compiler which could theoretically be ported to give you Java on a classic machine but that is far far away from being finished and lacks almost all the graphics libraries you'd probably want to use.

Sorry, dude, I want to write in Java too, but we're SOL!!!
The Amiga platform, as it stands right now, is probably the worst platform to even consider writing stuff in Java for, even as a crossport to another platform.

What's the Java on Aminet all about? Is that Jamiga?

Dudes, feel free to correct me if I'm wrong, which I could very well be.
BigBenAussie is offline   Reply With Quote
Old 07-15-2004, 11:31 PM   #8
BigBenAussie
Technoid
Points: 7,230, Level: 56 Points: 7,230, Level: 56 Points: 7,230, Level: 56
Activity: 18% Activity: 18% Activity: 18%
 
Join Date: Feb 2004
Posts: 314
Send a message via MSN to BigBenAussie
Default Re: Coding Java Apps and Games on Classic Amigas?

I had the most fun learning Java initially by reading about Java game programming in Applets. I know people frown about applets(snobs) but I think they're really rather cool tech and a lot of fun to tinker with and jazz up your website.

I then went on to learn about the AWT and Swing graphics APIs which IMO feel cludgey compare to MS's VB API. A really good dev environment helps a lot if you're writing an App rather than a game as visually designing forms is a dream and something you may not see in an Amiga dev environment for some time, although I am sure people are plunking away at such a thing as we speak. JBuilder, and I'm sure Eclipse are two excellent environments. Maybe one day we'll see the Eclipse dev environment ported to Amiga, but then again, maybe not.
BigBenAussie is offline   Reply With Quote
Old 07-16-2004, 12:43 AM   #9
gizz72
Cult Member
Points: 11,754, Level: 71 Points: 11,754, Level: 71 Points: 11,754, Level: 71
Activity: 3% Activity: 3% Activity: 3%
 
gizz72's Avatar
 
Join Date: Mar 2004
Location: Republic of forgotten Amigas; Php
Posts: 815
Blog Entries: 1
Default Re: Coding Java Apps and Games on Classic Amigas?

@BigBen

On Aminet found 'Jikes' but I'm completely blank about these things.

Eclipse huh? A name to remember.

@Kent
Thanks. C and C++, I have little knowledge and getting rusty. I'm still waiting for the Dev CD for 3.5 I bought from SoftHut, but It seems to be in limbo somewhere in between. Along with AF6 and others.
All my schemes are pending for now. :-)

@Whabang
I'll take the risk and yes, it's a good start for my mobile. :-)

Regards

Gizz
__________________
Good day to all Amigans!

MARGE - P3 DellOptiplex 220; 225 MB; Dual Partitioned WinXpSP3 and IcarosDesktopv1.4.x
MANNY - A1200 + CobraDKB '030 w/ 32MB + DataFlyer HDD
ASPIREOne D270 + Sata SSD 512GB - Hosted AROSAspireone but it is very slow.
gizz72 is offline   Reply With Quote
Old 07-16-2004, 03:29 AM   #10
poktis
Hobbyist
Points: 5,346, Level: 46 Points: 5,346, Level: 46 Points: 5,346, Level: 46
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2002
Posts: 55
Default Re: Coding Java Apps and Games on Classic Amigas?

i made (?) years ago a java program : "hello world" on my 1200. It works well and doesn't require high computing capacity. LOL

I have to switch on the computer to explain you how to configure java. In text mode only, it's ok to start i think.






poktis is offline   Reply With Quote
Old 07-30-2004, 02:28 AM   #11
Varthall
Cult Member
Points: 9,774, Level: 66 Points: 9,774, Level: 66 Points: 9,774, Level: 66
Activity: 2% Activity: 2% Activity: 2%
 
Varthall's Avatar
 
Join Date: Mar 2002
Posts: 615
Default Re: Coding Java Apps and Games on Classic Amigas?

There's a free Java interpreter available for Amiga: kaffe.
I've used it on my A1200/030 when I was studing the language, and for basic stuff like outputting text it works well, it's enough for beginners. I've read in some older post here that kaffe under linux on the same setup is 4 times faster, because of ixemul.library slowing down the interpreter, so if you want more speed I would recommend running it under linux.

Varthall
Varthall is offline   Reply With Quote
Old 07-30-2004, 02:46 AM   #12
gizz72
Cult Member
Points: 11,754, Level: 71 Points: 11,754, Level: 71 Points: 11,754, Level: 71
Activity: 3% Activity: 3% Activity: 3%
 
gizz72's Avatar
 
Join Date: Mar 2004
Location: Republic of forgotten Amigas; Php
Posts: 815
Blog Entries: 1
Default Re: Coding Java Apps and Games on Classic Amigas?

@Varthall

I just posted a new thread awhile, the 'Is it possible to install ANY LinuxOS on a real Amiga?' thread to see if I can Run the Kaffe you mentioned. The OS given was Debian and some links, thanks to Brian and Ilwrath. Hopefully, I be able to learn to code in Java soon. Thanks also. :-)

Regards,

Gizz
__________________
Good day to all Amigans!

MARGE - P3 DellOptiplex 220; 225 MB; Dual Partitioned WinXpSP3 and IcarosDesktopv1.4.x
MANNY - A1200 + CobraDKB '030 w/ 32MB + DataFlyer HDD
ASPIREOne D270 + Sata SSD 512GB - Hosted AROSAspireone but it is very slow.
gizz72 is offline   Reply With Quote
Old 07-30-2004, 03:06 AM   #13
Varthall
Cult Member
Points: 9,774, Level: 66 Points: 9,774, Level: 66 Points: 9,774, Level: 66
Activity: 2% Activity: 2% Activity: 2%
 
Varthall's Avatar
 
Join Date: Mar 2002
Posts: 615
Default Re: Coding Java Apps and Games on Classic Amigas?

Ok. I would advise you to first try the Amiga version of Kaffe, it might be enough for your needs and it would be easier to install than Linux.

Varthall
Varthall is offline   Reply With Quote
Old 07-30-2004, 03:35 AM   #14
dambala
Merely Curious
Points: 3,635, Level: 37 Points: 3,635, Level: 37 Points: 3,635, Level: 37
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2004
Posts: 12
Default Re: Coding Java Apps and Games on Classic Amigas?

I hope you'll be able to make Java run on Amiga, but...

In the case you doesn't make it work, then I suggest you to use Sun VM for Linux.

http://java.sun.com

It is perfect! It runs the same speed as the equivalent window version and it can use OpenGL acceleration.

EDIT:
Oops... maybe I missed the point.
I'm not sure Sun VM is avaible for Amiga Linux :-(
dambala is offline   Reply With Quote
Old 07-30-2004, 05:04 AM   #15
Varthall
Cult Member
Points: 9,774, Level: 66 Points: 9,774, Level: 66 Points: 9,774, Level: 66
Activity: 2% Activity: 2% Activity: 2%
 
Varthall's Avatar
 
Join Date: Mar 2002
Posts: 615
Default Re: Coding Java Apps and Games on Classic Amigas?

No, sadly Sun's Java for Linux is compiled for x86 only.

Varthall
Varthall is offline   Reply With Quote
Reply

Bookmarks

Tags
java , games , classic , apps , amigas , coding

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need some C-64 music apps and a few games (no emulation) marcfrick2112 Alternative Operating Systems 6 12-18-2008 05:09 AM
Amigas online w/o java? Will-i-am Amiga Software Issues and Discussion 6 03-11-2006 10:55 PM
How to speed up MOS for classic ppc amigas? keropi Amiga Software Issues and Discussion 2 09-12-2005 06:01 AM
Games, Apps, Cables, MIDI port, Sampler... All on eBay FuZion Amiga Marketplace 5 12-18-2003 06:05 PM
MorphOS 1.4 for PPC classic Amigas? Dragster Amiga Software Issues and Discussion 7 12-15-2003 03:19 PM