English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

javac example.java

no problems

java example

exception in thread "main" java.lang.noclassfounderror: example

i went to environment variables
and add
C:\Program Files\Java\jdk1.6.0\bin;
C:\Program Files\Java\jdk1.6.0\jre\lib\rt.jar;

still the problem prevails...

i went to start->run->sysedit

i saw nothin related to java there ...

what is the problem?

2007-03-02 05:34:06 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

4 answers

Do you have other classes? are they in the same directory?

Sounds to me like there is some class in your code that you are using that it cant find.

2007-03-02 09:48:52 · answer #1 · answered by rsmith985 3 · 0 0

Nitpicking should not be performed; all of us sin in small issues conventional, and being a busybody is whilst in comparison with being a murderer in scripture. even however, if it concerns severe sin, then it could actually be mentioned. Ephesians 5: 10 shop on making confident of what's appropriate to the Lord; 11 and supply up sharing with [them] interior the unfruitful works that belong to the darkness, yet, particularly, additionally be reproving [them], a million Timothy 5:20 Reprove until now all onlookers persons who practice sin, that something additionally might have worry.. . . whilst the above have been instructions to Elders and Ministerial Servants / deacons, that's obvious that all of us might help in warning people who being Christian fall into severe sin. (deacons: Wikipedia: The be conscious "deacon" is derived from the Greek be conscious diakonos (????????),[a million] that's a accepted historic Greek be conscious meaning "servant", "waiting-guy", "minister" or "messenger ) it fairly is not as much as you to forgive human beings's sin except they have been against you. it fairly is for prayer and repentance, possibly confession to the congregation, etc.

2016-10-17 02:49:58 · answer #2 · answered by Anonymous · 0 0

Sounds like you have a CLASSPATH issue. Does your project include any jars?

Doesn't sound like you have a PATH variable problem as you can already execute javac and java.

2007-03-02 05:37:25 · answer #3 · answered by Jim Maryland 7 · 0 0

Before compiling you need to set the path to the bin folder. for example:

c:/SETPATH="c:/jdk1.6/bin"

Also make sure you have the latest version of java installed. Otherwise download java sdk from http://java.sun.com

2007-03-02 05:41:26 · answer #4 · answered by Anonymous · 0 0

fedest.com, questions and answers