Coding Java on PPC - MacRumors Forums
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
Banned
 
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
SawyerTHEBEST is offline   0 Reply With Quote
Old Feb 26, 2013, 06:52 PM   #2
rjcalifornia
macrumors 6502a
 
rjcalifornia's Avatar
 
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, Black Macbook Core 2 Duo, Powerbook G4 & iMac G4 700 Mhz Owner.
rjcalifornia is offline   0 Reply With Quote
Old Feb 27, 2013, 10:09 AM   #3
CptSky
macrumors regular
 
Join Date: Feb 2013
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, 240 GB SSD ;
PowerMac G5, 4x 2.50 GHZ, 8 GB RAM, 4 TB (RAID-0) ;
32 GB iPhone 5S ; Apple TV (3nd Gen) ;
Xserve RAID 9 TB ;
CptSky is offline   0 Reply With Quote
Old Feb 27, 2013, 10:33 AM   #4
rabidz7
Banned
 
Join Date: Jun 2012
Location: Isla De Juventud, south Havana provence, Cincinnati 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.
rabidz7 is offline   0 Reply With Quote
Old Feb 27, 2013, 02:31 PM   #5
Wildy
macrumors 6502
 
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
Banned
 
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
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: Bucharest, Romania
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.8.4|
 iPhone 4 |16gb Black|
gaboshenia is offline   0 Reply With Quote
Old Mar 6, 2013, 04:15 AM   #9
robbieduncan
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

Similar Threads
thread Thread Starter Forum Replies Last Post
Someone develop applications on Java using Eclipse on PPC? Franchute13 PowerPC Macs 1 Apr 11, 2014 04:23 PM
Java 6 PPC 128keaton PowerPC Macs 57 Mar 31, 2014 11:02 AM
Chrome on OS X -- Java plugin / Java 7 vs Java 6 Issue booyahbooyah Mac Applications and Mac App Store 4 May 31, 2013 09:13 AM
Were PB Duos PPC or that other pre PPC thing? California PowerPC Macs 5 May 27, 2013 06:45 PM
General: Evasi0n, PPC/No, VPC on PPC/No, Linux on PB/No, OS X on AppleTv/No justperry Jailbreaks and iOS Hacks 7 Feb 19, 2013 12:35 AM

Forum Jump

All times are GMT -5. The time now is 02:52 PM.

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

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC