Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Hardware > PowerPC Macs

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 26, 2013, 06:40 PM   #1
SawyerTHEBEST
macrumors member
 
Join Date: Feb 2013
Question Coding Java on PPC

SO I'm stuck with this G4 Mac for awhile. And I want to start learning Java (while actually coding things) But I don't know were to start, and what programs to use that work with PowerPC Macs halp
__________________
- Peace out girl scout
2" LED 4k Display - Pentium 4 overclocked to 3 Trillion Ghz w/ stock cooler 25kb ram, 32tb SSD. Jelly?
SawyerTHEBEST is offline   0 Reply With Quote
Old Feb 26, 2013, 06:52 PM   #2
rjcalifornia
macrumors 6502
 
Join Date: Oct 2012
Location: El Salvador
Read and follow this:

http://netbeans.org/community/releases/67/install.html

Good Luck!
__________________
CEO, Lead Developer and Sales Manager of SW Social Web LLC PowerPC Blog iBook G4 1.2 Ghz 60 GB HDD & iMac G4 700 Mhz Owner.
rjcalifornia is offline   0 Reply With Quote
Old Feb 27, 2013, 10:09 AM   #3
CptSky
macrumors member
 
Join Date: Feb 2013
Location: Laval (Qc, CA)
NetBeans 6.8 will works too as it requires Java 1.5 which is the highest Java version shipped with OS X (PPC). It's what I use on my G5.

N.G. Java changed on few things with Java 1.6, and now with Java 1.7. I did some app that although they were working fine on my G5, some comportment were different (almost all related to Swing) on my G5 in comparison to my MBP.
__________________
MacBook Pro, 2x 2.26 GHz, 8 GB RAM, 1 TB HD ;
PowerMac G5, 4x 2.50 GHZ, 8 GB RAM, 4 TB HD (RAID-0) ;
32 GB iPhone 3GS ; Apple TV (3nd Gen) ;
ReadyNAS Duo v2, 3 TB HD (RAID-1) ;
CptSky is offline   0 Reply With Quote
Old Feb 27, 2013, 10:33 AM   #4
rabidz7
macrumors 6502a
 
rabidz7's Avatar
 
Join Date: Jun 2012
Location: Ohio
Quote:
Originally Posted by SawyerTHEBEST View Post
SO I'm stuck with this G4 Mac for awhile. And I want to start learning Java (while actually coding things) But I don't know were to start, and what programs to use that work with PowerPC Macs halp
I actually prefer the eclipse compiler. I believe it still supports 64 bit PPC.
__________________
I apologize to all about my lying about my Power Mac G5's details.
PowerMac G5 quads play 1080p HD PERFECTLY do NOT believe anyone who says otherwise.
rabidz7 is offline   0 Reply With Quote
Old Feb 27, 2013, 02:31 PM   #5
Wildy
macrumors regular
 
Join Date: Jan 2011
If you need a newer version of Java for whatever you're doing then you should be safe to run OpenJDK (Soylatte) without problems.
Wildy is offline   0 Reply With Quote
Old Feb 27, 2013, 05:10 PM   #6
SawyerTHEBEST
Thread Starter
macrumors member
 
Join Date: Feb 2013
Talking

SO I've done the "Hello World" Script so I'm basicly a pro. BUT I don't know were to go from here :/

I am pretty good with paint.net . When I first started using it I would just play around with it selecting the different tools and trying different effects. And there were many tutorials on their forum.

But with coding it seems like your either a noob or an expert every java forum I have found is filled with huge **** I can't even beggin to understand.

So a hugeee list of starter tutorials would be awesome ^_^ if someone would just ask about paint.net I would destroy them with information, yee yee
__________________
- Peace out girl scout
2" LED 4k Display - Pentium 4 overclocked to 3 Trillion Ghz w/ stock cooler 25kb ram, 32tb SSD. Jelly?
SawyerTHEBEST is offline   0 Reply With Quote
Old Mar 5, 2013, 07:29 PM   #7
minifridge1138
macrumors 6502a
 
Join Date: Jun 2010
It sounds like java is your first programming language.

What are you looking for in a tutorial? I know that sounds like a dumb question, but some tutorials are a very methodical walk through and others are simply an overview and a "try it for yourself".

When I'm trying to learn a new programming language, I usually follow something like this:

1) Print a message to the console ("hello world")
2) Take input from the user and then dump it to the console ("What is your name? Hello <NAME>").
3) Basic string manipulation / validation ("Enter your favorite month. I'm sorry, I've never heard of Febtober / I like August").
4) Math (calculate Fibonacci sequences)
5) Math (use a caching mechanism to store Fibonacci numbers to improve performance of (4) ).
6) Disk I/O (reading the contents of a file. Then writing to a file. Listing all files in a directory).
7) GUI (redo all of the above, but use a GUI instead of a console).

For each of those, you can do a basic google search of the task (rather than a tutorial for the whole language). If you find sample code online that you don't understand, try to figure out what each individual line does (it helps if the sample code isn't too long).

One of the biggest complaints that people have about java (after performance, memory, and security) is that it is very verbose. It can take several lines of code to do something simple (such as reading text from a file). That's just the nature of the language, I'm afraid.

If you have any questions, just ask. The internet and forums will be your friend.
minifridge1138 is offline   0 Reply With Quote
Old Mar 6, 2013, 03:20 AM   #8
gaboshenia
macrumors member
 
Join Date: Dec 2007
Location: Rome, Italy
Arrow

Quote:
Originally Posted by SawyerTHEBEST View Post

So a hugeee list of starter tutorials would be awesome ^_^ if someone would just ask about paint.net I would destroy them with information, yee yee
So, here's an awesome site to learn how to code, with lots of exercises ---> http://www.codecademy.com

Good luck!
__________________
endgame

 MacBook Unibody Al |2GHZ/4gb/256mb/160gb OS 10.7.5|
 iPhone 4 |16gb Black|
gaboshenia is offline   0 Reply With Quote
Old Mar 6, 2013, 04:15 AM   #9
robbieduncan
Demi-God (Moderator)
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
Feel free to ask specific Java programming questions over here.
robbieduncan is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Hardware > PowerPC Macs

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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


All times are GMT -5. The time now is 01:44 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC