Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 20, 2007, 09:37 AM   #1
Jasonbot
macrumors 68020
 
Jasonbot's Avatar
 
Join Date: Aug 2006
Location: The Rainbow Nation RSA
Send a message via AIM to Jasonbot Send a message via MSN to Jasonbot
Java println("help")

I'm studying java this weekend on an old powermac G4 and thus the only java IDE I could get was bluej as its small and user friendly-except for one thing. I can't run my simple apps from directly withing the IDE and thus I can't view the println()'s that I've made. Is there any way for me to see the println's, they dont show up in terminal, or is there another java IDE that I can use that will run my apps and give me my println()'s?
__________________
[insert apple related products here]
Jasonbot is offline   0 Reply With Quote
Old Jul 20, 2007, 09:40 AM   #2
sammich
macrumors 601
 
sammich's Avatar
 
Join Date: Sep 2006
Location: Sarcasmville.
TextMate

Everything you need. It's not an IDE, but it's perfect for programming in java, especially little projects.

Except the whole 'visualisation' of the connected methods and the like.
__________________
Official MR IRC
Look at me, I'm own a bunch of things and everyone must know about every single one.
sammich is offline   0 Reply With Quote
Old Jul 20, 2007, 01:23 PM   #3
antibact1
macrumors 6502
 
Join Date: Jun 2006
Despite it's size, Eclipse is great I used to run it on a G4, and although it has a slow initial load time, once it's running it's fantastic.
antibact1 is offline   0 Reply With Quote
Old Jul 20, 2007, 01:46 PM   #4
subl1me
macrumors newbie
 
Join Date: Jan 2005
Step 1: Open up Terminal.
Step 2: Navigate to the folder where your code is located (using 'cd').
Step 3: Type 'javac filename.java'.
Step 4: Type 'java filename'.

*oops...I didn't read the original post thoroughly. I see you're having a problem of them NOT showing up in Terminal.....

nevermind.
subl1me is offline   0 Reply With Quote
Old Jul 20, 2007, 03:34 PM   #5
lazydog
macrumors 6502a
 
Join Date: Sep 2005
Location: Cramlington, UK
Send a message via MSN to lazydog
Quote:
Originally Posted by Jasonbot View Post
Is there any way for me to see the println's, they dont show up in terminal, or is there another java IDE that I can use that will run my apps and give me my println()'s?
How are you doing your println()'s? System.out.println() should work fine in the terminal.

b e n
lazydog is offline   0 Reply With Quote
Old Jul 20, 2007, 06:57 PM   #6
stadidas
macrumors regular
 
Join Date: Feb 2006
Location: Kent, United Kingdom
I take it by terminal you mean you're using the BlueJ terminal (View > Show Terminal). If you're using System.out.println() then I don't see why it's not coming out. If anything you'd be better off running things from the command line.
stadidas is offline   0 Reply With Quote
Old Jul 21, 2007, 12:17 PM   #7
Jasonbot
Thread Starter
macrumors 68020
 
Jasonbot's Avatar
 
Join Date: Aug 2006
Location: The Rainbow Nation RSA
Send a message via AIM to Jasonbot Send a message via MSN to Jasonbot
I figured it out, how to run my programmes in bluej, just gotta go rightclick>main method. Work perfectly. Thanks for the help anyways!
__________________
[insert apple related products here]
Jasonbot is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Java Update "Password Protected" possible spyware/malware ? dza Mac Basics and Help 8 Jan 17, 2014 12:25 PM
constant "Install Java 6se" notification? jesusplay OS X 2 Jun 11, 2013 05:12 PM
Java "Accept Incoming Network Connections" dslau OS X 10.8 Mountain Lion 2 May 3, 2013 07:43 PM
Leopard 10.5.8 Safari says, "Java is Unavailable" j0ester OS X 1 Dec 20, 2012 04:41 PM
Leopard 10.5.8 Safari says, "Java is Unavailable" j0ester MacBook 0 Dec 12, 2012 03:03 PM

Forum Jump

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

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

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