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 6381761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:26:12+00:00 2026-05-25T02:26:12+00:00

I was trying to do a setenv CLASSPATH /somethig/foo/junit-4.9.jar kind of thing. After doing

  • 0

I was trying to do a

setenv CLASSPATH /somethig/foo/junit-4.9.jar

kind of thing. After doing some searching (the command setenv was not detected). I found that I had to use instead

export CLASSPATH=/folder/junit-4.9.jar

Which didn’t mark an error or anything. The problem is that it seemed to mess up other things that used to work like if I do

javac -Xlint FooTest.java

it says something like

cannot find symbol variable Foo

Foo.start()

Foo comes from Foo.java and Foo.class files

And before doing the export classpath thing I was able to do this. Is there anyway to revert that?

Where do I erase what i just added by doing the export CLASSPATH= bla bla?

I want to return to “the way things were” before I started adding the junit path

Thanks!

UPDATE
if I do an echo of the value I get:

echo $CLASSPATH .:/folder/junit-4.9.jar:/junit-4.9.jar

Nevermind I erased the whole thing I put by setting CLASSPATH=”” and now the stuff compiles.

  • 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-05-25T02:26:12+00:00Added an answer on May 25, 2026 at 2:26 am

    Use,

    export CLASSPATH=.:$CLASSPATH:/folder/junit-4.9.jar
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to build out an exception if move.UserId does not equal currentUserId then Redirect
I am trying to allow a single location (a file which does not exist
Can anybody give me some hints for solving this? I'm trying to compile Kinect
I'm trying to deploy django using wsgi . But its not working. Will you
We use g++ 4.2.4 and I'm trying to track down some performance problems in
I've spent the last few hours trying to resolve this problem, and I'm not
i have trying to use some global variable in my ant file. when i
I'm trying to write a shell script that, when run, will set some environment
Trying to make this jQuery filter that uses .find case-insensitive. For example, when the
Trying to figure out how I can do this properly. The print_r looks like

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.