Results 1 to 6 of 6
Thread: Java command line help
- 05-15-2011, 10:58 AM #1
Member
- Join Date
- May 2011
- Posts
- 3
- Rep Power
- 0
Java command line help
Hi,
I'm runnning java using command prompt on Vista but I'm having problems with viewing the data my code is outputting.
Say If I ran this code,
I will only be able to view from 52 onwards,despite scrolling up. Is there a way to fix this? It's rather annoying.Java Code:class CommandProblem { public static void main(String[] args) { for(int i=0;i<100;i++) { System.out.println("i is " + i); } } }
Edit: Screenshot is here: (Arrow indicates can't scroll up more)
ImageShack® - Online Photo and Video Hosting
Thanks
C98Last edited by c98; 05-15-2011 at 11:11 AM. Reason: Uploaded photo
- 05-15-2011, 11:03 AM #2
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
I'm not too sure what you mean, does it just cut off from 0-52?
- 05-15-2011, 11:06 AM #3
Member
- Join Date
- May 2011
- Posts
- 3
- Rep Power
- 0
Yes.
Once the code has executed it will take you down to 99, but you can only scroll up to the point where i is 52. Anything before that is gone. So I can't see that i is 12 etc.. has been output.
- 05-15-2011, 11:10 AM #4
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
This may be of interest to to you: Unable to scroll to the top of the command prompt after using the - Microsoft Answers
- 05-15-2011, 11:17 AM #5
Member
- Join Date
- May 2011
- Posts
- 3
- Rep Power
- 0
yey fixed.
Thanks
- 05-15-2011, 11:34 AM #6
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,375
- Blog Entries
- 7
- Rep Power
- 17
Similar Threads
-
How do you use the Mac command line for Java?
By java beginner in forum New To JavaReplies: 16Last Post: 05-07-2011, 04:34 AM -
Command line args for your java app!
By aadem in forum New To JavaReplies: 2Last Post: 03-04-2011, 09:05 PM -
Formatting java command line output - Multi line string
By dricco in forum New To JavaReplies: 2Last Post: 07-02-2010, 02:20 PM -
Java command line
By agouzoul in forum New To JavaReplies: 2Last Post: 04-02-2008, 12:12 PM -
Unable to execute command line command in java
By LordSM in forum New To JavaReplies: 1Last Post: 08-08-2007, 12:23 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks