DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page Can't find my Main.class
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Mar 2009
Question Can't find my Main.class - 05-27-2009, 04:11 PM

I work on both vista and a linux platform, mostly I use eclipse on linux.
But today I need to debug something on vista, so I set up an environment
over there.

I cannot run my app. I get the message: Cannot find <path>\Main.class


I have my compiler and jre set up correctly, I think.

Could this be a registry problem? Any thoughts, references, tips?
thanks!!
lucid bee
Reply With Quote
  (#2 (permalink)) Old
Moderator
 
jwenting's Avatar
 
Posts: 122
Thanks: 0
Thanked 9 Times in 9 Posts
Join Date: Feb 2008
Send a message via MSN to jwenting
Default 05-28-2009, 04:29 AM

it cannot find the file because you gave Eclipse the wrong place to look.
Reply With Quote
Reply

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with running main function in eclipse using java runtime environment 1.5.0 gtg944s Eclipse 2 05-21-2009 12:30 PM
Find/Replace Newline misterchucker Eclipse 2 03-23-2009 09:55 AM
eclipse/vistajava.lang.NoClassDefFoundError: –Djava/library/path=//lib Exception main adhoul Eclipse 1 11-15-2008 10:52 AM
keep the main thread alive mitroiasi Java 0 03-13-2008 11:37 AM
Getting values of another class svds Java 6 02-12-2008 01:31 PM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com