DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2004
    Posts
    5

    Hello, a little q for u guys

    first off hello everyone .I'm new here and semi new to java though not to other languages.

    my problem is so, i created an applet using JCreator and it worked just fine, the problem is when i tested the applet on a different computer which does not have JCreator installed on it.
    I get the follwoing error: could not find class x (x for example )

    I used to use the eclipse editor and never had that problem before.

    Can anyone help ???

  2. #2
    Join Date
    Aug 2004
    Posts
    7

    Question

    Are you sure, in the other computer, that you have the right Java Runtime Environment version?

  3. #3
    Join Date
    Aug 2004
    Posts
    5
    yep definetly

  4. #4
    Join Date
    Aug 2004
    Location
    On the net
    Posts
    38

    Small q

    Hey,
    I feel that this is the regular problem that occur when we work on the basic programming with Java . This might be related to the classpath settings of the JDK. Please make sure that everything is set correctly and then try it again.
    Thanks,
    Narayana :-)

  5. #5
    Join Date
    Aug 2004
    Posts
    5
    how do I set the classpath ?

  6. #6
    Join Date
    Aug 2004
    Posts
    7
    Take a look at http://java.sun.com/j2se/1.4.2/docs/...ngclasses.html

    On Unix:
    % setenv CLASSPATH classpath1:classpath2...

    On Windows:
    C:> set CLASSPATH=classpath1;classpath2...

    But, I like to use the -classpath option when I run a java class.

    good luck.
    3-)

  7. #7
    Join Date
    Aug 2004
    Posts
    5
    thanks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links