Java in Eclipse: automatically creating a .class file

when I modify the foo.java file in Eclipse, there are no changes in the foo.class inside the bin folder.

I think there should be a way that Eclipse will automatically change this value when changing the foo.java file?

I can’t even do it manually.

I hope you help me.

thank

+5
source share
3 answers
  • Make sure the java project
  • Make sure the java file is in the source folder (right-click the project, properties, build path)
  • Make sure that you turn on automatic assembly (menu "Project" β†’ "Create automatically")
+7
source

, , , - . () , , , Java , . "", "", "", , ... . , .project(, , ) :

    <buildCommand>
        <name>org.eclipse.jdt.core.javabuilder</name>
        <arguments>
        </arguments>
    </buildCommand>

buildSet, . , -.

+2

, , , "", , . :

β†’ β†’

If there are Errors, you need to fix them before the eclipse can compile.

+2
source

All Articles