Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

At Wits End.....

 
David Wismer
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone help me get past this? I am trying to run Hello World on a Windows XP machine and can not get it to run. It will compile, but not run. Here is the code:



Here is the Windows CLASSPATH

C:\Program Files\Java\jdk1.6.0_17\bin

Here is the Windows Path

C:\oracle\ora81\bin;C:\oracle\product\10.2.0\db_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Alky for Applications\Libraries\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\VisualSVN\bin;C:\Program Files\Java\jdk1.6.0_17\bin

Here are screen shots of the errors that I get. I have gone to java.com and ran the test to see if Java is working and it is.

Help, almost ready to go back to .Net!
Config.JPG
[Thumbnail for Config.JPG]
Config Information
 
Henry Wong
author
Marshal
Pie
Posts: 21504
84
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In your screen shot, you first delete the class files, then you run the JVM, and is now surprised that the JVM can't find the class files?

Henry
 
David Wismer
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I can get the program to compile, just not run.
Compiled.gif
[Thumbnail for Compiled.gif]
Compile
 
Henry Wong
author
Marshal
Pie
Posts: 21504
84
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Wismer wrote:Yes, I can get the program to compile, just not run.


How can any program run after you delete the compiled binary?

Henry
 
David Wismer
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Grabbed the wrong screen shot when I put the above images together. I have updated the screen shot showing the class and the error.



Config1.gif
[Thumbnail for Config1.gif]
 
Henry Wong
author
Marshal
Pie
Posts: 21504
84
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Wismer wrote:
Here is the Windows CLASSPATH

C:\Program Files\Java\jdk1.6.0_17\bin


And BTW, get rid of the CLASSPATH. This isn't right.

Henry
 
David Wismer
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deleting the ClassPath solved the problem!

THANKS!
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you understand why?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic