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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:30:21+00:00 2026-05-28T00:30:21+00:00

I must have done something very stupid which has caused the following situation. Basically

  • 0

I must have done something very stupid which has caused the following situation. Basically after compilation of code which I had compiled successfully lots of times previously, all of the .class files have all of a sudden been put in the package folders, where the .java files are. Some of the .class files have even numbers in the names like.

ClassName.java
ClassName.class
ClassName$1.class
ClassName$2.class
ClassName$3.class
ClassName$4.class

It looks a mess in the Navigator and rebuilding or cleaning the project doesn’t make these files go away.

The last code change I made, which has now been reverted was in the class static field:

static {
    if (System.getProperty("os.name").startsWith("Mac OS X")) { CONTROL_PANEL_WIDTH = 225; }
    else { CONTROL_PANEL_WIDTH = 180; }

System.out.println(System.getProperty("os.name")); // this is what I added; perhaps it was stupid
}

I must have done something silly. Can you help please?

  • 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-28T00:30:21+00:00Added an answer on May 28, 2026 at 12:30 am

    You might have switched your default output folder of your classes, which can be fixed by right click your project -> Properties -> Java Build Path -> Tab Source -> Default Output folder (set it to <ProjectName>/bin)

    You could also check the .classpath file in your workspace which have to look like this (the path of the output folder is stored relative):

    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
        <classpathentry kind="src" path="src"/>
        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
        <classpathentry kind="output" path="bin"/>
    </classpath>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I must have done something wrong. I have a C# project in Visual Studio
I've been using Notepad++ forever but must have done something to stop Control +
I must have overlooked something completely obvious?? but my button displays its image and
you must have seen this piece of code somewhere else too,but obviously there's no
I must be doing something really wrong as this seems like a very simple
I think I must be missing something very simple here (and apologies if I
I have activity A, which launches activity B via an intent. Activity A has
I have a simple log file which is very messy and I need it
I must have pressed on the wrong button at some point, and now when
You must have noticed one link in yahoo.com, msn.com or other popular websites named

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.