Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > BOOK: Beginning Java 2
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 14th, 2004, 01:48 PM
Registered User
 
Join Date: Feb 2004
Location: Roorkee, Uttranchal, India.
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
  #2 (permalink)  
Old February 15th, 2004, 07:31 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
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
  #3 (permalink)  
Old February 20th, 2004, 02:06 PM
Registered User
 
Join Date: Feb 2004
Location: Roorkee, Uttranchal, India.
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
  #4 (permalink)  
Old February 20th, 2004, 03:37 PM
Friend of Wrox
Points: 2,570, Level: 21
Points: 2,570, Level: 21 Points: 2,570, Level: 21 Points: 2,570, Level: 21
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: San Diego, CA, USA
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/
  #5 (permalink)  
Old February 21st, 2004, 02:40 PM
Registered User
 
Join Date: Feb 2004
Location: Roorkee, Uttranchal, India.
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
 


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 06:47 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.