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
Slow news day? Never fear, Digitimes is here. Serving up free hits for techblogs everywhere.
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

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
Java Applet not working on Lion jake4ever Mac OS X 10.7 Lion 19 Feb 1, 2013 09:44 AM
HELP! I need Java! But don't have an earlier version installed! bs2511feist OS X 10 Apr 14, 2011 07:24 PM
"No compatible version of java 1.5+" when opening TinyUmbrella PSpfano OS X 3 Mar 31, 2011 12:37 PM
Using accessors in Java constructors (marc) Mac Programming 4 Dec 3, 2010 09:37 AM
Small Java Problem finnschi Mac Programming 9 Nov 25, 2010 04:26 PM


All times are GMT -5. The time now is 05:55 PM.

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

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