Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > BOOK: Beginning Java 2
|
BOOK: Beginning Java 2
This is the forum to discuss the Wrox book Beginning Java 2, SDK 1.4 Edition by Ivor Horton; ISBN: 9780764543654
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Java 2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 14th, 2004, 01:48 PM
Registered User
 
Join Date: Feb 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with the speed of compiling java programs

Hello Friends,
        Please help me to solve a problem.I have a PC with 500 MHz speed and OS as Windows98.(AMD-K7 processor with 128 MB's of RAM).When i compile my Java programs on it it takes so much time to compile that.While one of my friend have PC with 133 MHz speed(Intel Cyrex with 128 MBs of RAM)but he has no such problem.I have tried javac with -verbose option and found that most of the time it spends in parsing the program.My PC takes near about 800-900ms for parsing a small program ,while my friend's PC takes only 100-150ms for parsing the same code.I feels boring when i compile my java programs on that system(Which should not happen when you are learning something).
       Can someone from you solve my problem?

Sharad Agarwal
 
Old February 15th, 2004, 07:31 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Use the Jikes compiler from IBM. It's open source, written in C++, very portable, and very fast. See the following url for more information:

http://www-124.ibm.com/developerworks/oss/jikes/

Cheers

Martyn
 
Old February 20th, 2004, 02:06 PM
Registered User
 
Join Date: Feb 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Martyn!! for showing interest in my problem.Can u give some solution,if i don't want to use a compiler other than jdk.

Sharad Agarwal
 
Old February 20th, 2004, 03:37 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, how fast is your friend's computer? How many different applications are you running? Are you compiling your java programs from the command line, or from within an IDE?


Take care,

Nik
http://www.bigaction.org/
 
Old February 21st, 2004, 02:40 PM
Registered User
 
Join Date: Feb 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

As i wrote in my first message, my friend has an old computer(cyrix 133MHz with 128MBs of SDRAM),which does nothing else but run java programs well.And i have 500 MHz (AMD K7 with 128 MBs of RAM) processor and all other programs are running well on it.I am compiling my programs from command line using jdk1.3.

Sharad Agarwal





Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling JAVA code in .NET? sivavenugopal BOOK: Beginning ASP.NET 1.0 1 January 24th, 2007 01:52 AM
ASP.NET chat speed problem hemal_301080 ASP.NET 1.0 and 1.1 Professional 0 August 28th, 2006 05:26 AM
Compiling Related java files Jstmehr4u3 J2EE 2 August 9th, 2004 07:18 AM
ch 12 compiling com\wrox\secure\*.java classes JHvdSloot JSP Basics 3 September 23rd, 2003 07:42 AM
New to Java, problems compiling Kyle Colyer JSP Basics 3 September 6th, 2003 04:58 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.