Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Java Programming 24-Hour Trainer by Yakov Fain
This is the forum to discuss the Wrox book Java Programming 24-Hour Trainer by Yakov Fain; ISBN: 978-0-470-88964-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Java Programming 24-Hour Trainer by Yakov Fain 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 22nd, 2012, 05:35 PM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using Eclipse on Windows 7

I've given up trying to use Eclipse on Windows 7 and gone to NetBeans instead. I just cant get Eclipse to start at all. Anyone else had this problem?
 
Old February 23rd, 2012, 03:02 AM
Authorized User
Points: 159, Level: 3
Points: 159, Level: 3 Points: 159, Level: 3 Points: 159, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2012
Location: Romania
Posts: 30
Thanks: 5
Thanked 4 Times in 4 Posts
Default

I use Eclipse on Windows 7 and love it!
I have had it installed on my computer for a while, but actually started to use it after getting some tips from the videos that accompany the Java Programming: 24-Hour Trainer. I also find very useful Lesson 2 in the book, which gives you an introduction to Eclipse, starting from detailed explanation of downloading and installing.
But, as the author states, "switching from one IDE to another is a pretty simple process, and if you see that in some areas one IDE makes you more productive than the other, just use the best one for the job."
 
Old February 23rd, 2012, 03:27 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oh I like Eclipse alright: I've used it before on an old vista machine, but
I've found it impossible to install and use on win 7. (i have a quad core AMD)
I keep getting the error message below:

"failed to load the JNI shared library c:\program files(x86)\java\jdk1.6.0_26\bin"

It's to do with using a 64 bit version with a 32 bit Jdk, as far as I can tell, but I've tried using both on 32 and then Both on 32 but still no joy. Very frustrating.

**Update**
After much banging around and gnashing of teeth last night i've finally got it working. I just had to get the combination of versions to match, and unistall each preceeding version correctly. or something like that. I don't know: next option was to start hitting it with big sticks, so glad its working.

Last edited by idlebones; February 23rd, 2012 at 04:29 AM..
 
Old February 25th, 2012, 03:18 PM
Authorized User
Points: 71, Level: 1
Points: 71, Level: 1 Points: 71, Level: 1 Points: 71, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2012
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi idlebones! I used to have that problem. What is happening is that you might have different versions of the jre installed and it defaults to the 32 bit version. This is what I have installed on my windows 7 machine:
Java(TM) 6 Update 29 (64-bit)
Java(TM) 6 Update 30
Java(TM) 7 Update 1 (64-bit)

When running eclipse for the first time it can not find the 64 bit environment and I believe it tries to use ( Java(TM) 6 Update 30 ). Below are the steps to the fix:

1. Navigate to your eclipse install.
2. Open your eclipse.ini file.
3. Open the .ini file with wordpad (wordpad is organized better than notepad).
4. input the lines below and click save.
-vm
C:\Java\JDK\1.6\bin\javaw.exe (This is an example. Your 64 bit version path may look diifferent)

I have mine pointing to the 1.7 java version. I hope this helps.

For more info:
http://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F




Similar Threads
Thread Thread Starter Forum Replies Last Post
Eclipse questions Cliff2310 BOOK: Beginning Android Application Development 14 February 9th, 2012 07:41 PM
eclipse Uniqe Beginning PHP 1 February 4th, 2012 03:29 PM
Easy Eclipse jtbjustin BOOK: Professional Joomla! ISBN: 978-0-470-13394-1 1 November 17th, 2008 05:31 PM
Eclipse and PIX sin BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 3 January 22nd, 2008 07:50 PM





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