facebook

Java not Compiling

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #354082 Reply

    stoxexchange
    Participant

    I have been using MyEclipse for 3 years and all of a sudden my java code no longer compiles. I assume there is some setting that got changed, does anyone have an idea what I need to reset.

    #354090 Reply

    support-swapna
    Moderator

    stoxexchange,

    Sorry that you are seeing this issue.

    1. Do you see any errors logged in the Problems view (Window/Show View/Problems) ?

    2. Can you please check if “Build Automatically” is turned on?
    Sometimes when you delete or overwrite your “target” or “bin” folders, you need a manual build.

    3. You can also try refreshing the project and cleaning it to force a rebuild. Sometimes, if you change some of the files outside of MyEclipse, MyEclipse doesn’t know they are updated. Refreshing forces it to reload everything, and cleaning will force it to rebuild.

    4. Right click on project->Properties->Java Complier->Configure Workspace Setting.Reset the Java compliance level and click ok.

    5. If the above steps do not work, please switch to a new workspace and check if you can replicate the issue with a sample web project. If the issue does not occur with a simple web project and if the issue is specific to your project, please check if the .project file of the project has this entry :

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

    6. Also please share the MyEclipse Version and Build Id from Help > About section.

    Let us know how it works for you.

    #354092 Reply

    stoxexchange
    Participant

    Hi Swapna,

    I am using following version:

    Version: 10.7.1
    Build id: 10.7.1-20130201

    I did not see any errors in the problems. But there is and exclamation point next to the icon in explorer.

    I cannot find where the build automatically flag is (I think this is the the problem)

    I tried refreshing and it didn’t fix the problem

    I tried to check the compliance level and no luck.

    I created a new workspace and everything worked correctly. My .project file has that entry

    Thanks for the help

    #354095 Reply

    support-swapna
    Moderator

    stoxexchange,

    Glad that you no longer see issues with a new workspace. The build automatically option is available from the menu Project > Build Automatically.

    MyEclipse 2013 and earlier versions are no longer fully supported. I recommend you move to MyEclipse 2015 which is based on Eclipse Luna.

    You can install MyEclipse 2015 alongside your existing MyEclipse 10.7.1 installation and the current license is valid for MyEclipse 2015 as well.

    You can download the MyEclipse 2015 installer from here : https://www.genuitec.com/products/myeclipse/download/

    If you are confortable working with the Continuous Integration stream then install the MyEclipse 2015 CI. If you want to work with a GA release, then go for MyEclipse 2015 Stable 1.0 release.

    Let us know if you see any issues.

    #354107 Reply

    stoxexchange
    Participant

    I cannot use the new version of MyEclipse because it has deprecated Matisse and I it is requirement.

    All I have done is copied my projects over to the new Workspace and it seems to be working.

    #354108 Reply

    support-swapna
    Moderator

    stoxexchange,

    While we made a decision to deprecate and remove Matisse gradually from MyEclipse, several users asked us to bring it back and we reintroduced it as an optional component in our latest releases.

    In MyEclipse 2015, go to Help > Choose Components. Expand the ‘Enterprise’ under ‘Not Selected’ section and double click on ‘MyEclipse Visual Swing Designer (Windows/Linux only). Apply the changes and restart the IDE when it prompts to.
    Matisse will be available after the restart.

    Let us know if you see any issues.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Java not Compiling

You must be logged in to post in the forum log in