Forum for users of JoomlaWatch / ExtraWatch for Joomla, Wordpress, Drupal, Magento, Prestashop

JoomlaWatch / ExtraWatch has following features: live real-time visitor statistics, location of your visitors on a map, blocking of users based on bad word list, front-end counters, click heat map, definition of goals and rules, graphs, directory size monitoring, monitoring of increase of database data in time, nightly email reports, interactive HTML5 chart of traffic flow within your website, SEO report with keyword statistics and keyword position trends

Welcome, Guest
Please Login or Register.    Lost Password?

Jave Code Error : "main" java.lang.NoClassDefFound
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Jave Code Error : "main" java.lang.NoClassDefFound
#3248
Jave Code Error : "main" java.lang.NoClassDefFound 5 Years, 4 Months ago Karma: 0
Plz go to kodejava.org/ examples/ 486.html
I am new to Java and need to run the UUID code snippet kept at above given link.
Heres what i have done
1.Installed jdk1.5.0_22
2.Copied the code snippet into a file named RandomStringUUID.java and kept in C:\test
3. Set the following user variables to
CLASSPATH = C:\Program Files\Java\jdk1.5.0_22\lib
JAVA_HOME = C:\Program Files\Java\jdk1.5.0_22\bin
path = %path%;C:\Program Files\Java\jdk1.5.0_22\bin;

4. From command prompt
C:\Test>javac RandomStringUUID.java
RandomStringUUID.class created

5.From command prompt
java RandomStringUUID

i am getting the error
Exception in thread "main" java.lang.NoClassDefFoundError: RandomStringUUID

Can someone please help??
Ahujak (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1