Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8278473
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T09:01:43+00:00 2026-06-08T09:01:43+00:00

recently I am reading about Thinking in Java. that code in my PC is

  • 0

recently I am reading about Thinking in Java.
that code in my PC is not working,even I set up class path.

“import static net.mindview.util.*;”
I need some help.

package iteration;
import  static net.mindviwe.util.*;
public class Exercise1 {
public static void main(String[] args) {
    for(int i=0;i<=100;i++){
        System.out.println(i);
    }
    int i=0;
    while(i<=100){
        print(i+"  ");
        i++;
    }

}

this is my class path :

export JAVA_HOME=/opt/jdk1.7.0_05:

export CLASSPATH=.:/opt/ThinkingJava/TinkingInJava.jar:/opt/ThinkingJava/typeinfo-pets.jar:

export PATH=$PATH:$JAVA_HOME/bin:

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T09:01:44+00:00Added an answer on June 8, 2026 at 9:01 am

    I’m just guessing, since your question is rather vague, but you put “classpath” as a tag…

    When you run the JRE, you must specify the locations where the JVM can find the classes it will need. In this case, your code uses the net.mindviwe.util.* package, which is probably in a JAR file named something like mindviwe.jar. You can specify that the JRE should look in mindviwe.jar with the -classpath variable. You can also use the CLASSPATH environment variable.

    This is all discussed in Wikipedia

    Of course, there also appears to be a typo in your package name where you transposed the ‘w’ and the ‘e’ (mindview vs mindviwe). This could also be your issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After reading about the System.Diagnostics.Contracts.Contract static class that has been influenced by the awesomeness
I recently was reading about Oracle Index Organized Tables (IOTs) but am not sure
I am fairly new to Java, and recently I was reading some material about
Recently I was reading about partitioning code with .NET assemblies and stumbled upon a
I've been reading about various new additions to c++ recently that i'm really excited
I did quite a reading about Android recently and I came across something that
Possible Duplicate: Weird Java Boxing Recently while I was reading about wrapper classes I
I recently read on Meta about some browser not flushing their cache even after
I have recently started reading about Java EE6 and in the examples I follow
I recently started reading about ASP.net MVC and after getting excited about the concept,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.