Categories

JAVA DATEBASE
Technology Network Community
Oracle Database
Fusion Middleware
Development Tools
Java
Desktop
Server & Storage Systems
Enterprise Management
Berkeley DB Family
Cloud Computing
Big Data
Business Intelligence
Architecture
Migration and Modernization
E-Business Suite
Siebel
PeopleSoft Enterprise
JD Edwards World
Industries
JD Edwards EnterpriseOne
User Productivity Kit Pro (UPK) and Tutor
Governance, Risk & Compliance (GRC)
Master Data Management (MDM)
Oracle CRM On Demand
On Demand: SaaS and Managed Applications
AutoVue Enterprise Visualization
Primavera
ATG
Agile PLM
Endeca Experience Management
Fusion Applications
Archived Forums

 



Tags

New To Java


NoClassDefFoundError


hi, my friend just installed java 1.5.0_10 and after that we changed the path variable to be able to compile thru command line  after that when we tried it compiling files work, but for some reason when we tried to run that class file it keeps giving us NoClassDefError "Exception in thread "main" java.lang.NoClassDefFoundError: Test"  any help will be appreciated

you have to change the path and classpath. the path is where the java command is the classpath is where the classes and jars are  change the classpath or compile with: java -cp .;C:/Somewhere/AnyJar.jar Program.java where the . means "this directory"


Related Links

How to modify an XML values using XSLT and Java
Hash - List/Map/Set/Table/Thing or the mystery box?
Take numbers out of a Text File
add statements to this program so that it computes the circumference....
Please send some code to access the address book of yahoo APIs from java
URLDecode
Refresh the page
Multiple singletons
Creating tree
Can;t find what is wrong. Trying to add elements in two arrays
Minesweeper Java Problem Help
Fax Program
Syntax error on token(s), misplaced construct(s)
Modifying library source code
How to execute a cvs command using System Call?
Sort three similar arrays and merge them in 4th array or arraylist