facebook

Cannot open java source file [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #199513 Reply

    dduckworth
    Member

    Hello, I’ve just paid for my upgrade and downloaded
    eclipse (eclipse-SDK-3.0M4-win32.zip) and accompanying
    myeclipse (EnterpriseWorkbenchInstaller_030603.exe).
    I’ve also installed sdk 1.4 and pointed eclipse to
    this JAVA_HOME. myeclipse starts ok, but when I try
    to open a .java, I get the following error: “Cannot
    open default editor on ServiceManager.java. File does
    not exist.”

    The default editor is a java editor as indicated in
    Window->Preferences, Workbench–>File Associations[/code]

    #199518 Reply

    support-michael
    Keymaster

    This is odd behavior since internally MyEclipse does not impose new code or configuraiton on the Eclipse JDT configuration or Java editor. Try this:

    1) uninsall MyEclipse
    2) start up Eclipse 3M4
    3) create a Java project and test java class with the wizards
    4) double click on the Java file to launch the Java editor
    5) if #4 is successful (editor opens as expected) perform steps 5-8
    6) shutdown Eclipse
    7) reinstall MyEclipse
    8) restart MyEclipse and test step #4

    Michael
    MyEclipse Support

    #199521 Reply

    dduckworth
    Member

    Problem fixed. I re-extracted eclipse 30m4 and I can now open java files. i suspect i had corrupted my installation.

    #199539 Reply

    dduckworth
    Member

    Well, the reason it worked was because I created the file from within eclipse. Once I created a new project and linked a source folder, none of the .java files will open! However, if I create a new package using the menu and create a new class using the menu, the file will open in the browser.

    #199542 Reply

    Scott Anderson
    Participant

    There’s a bug in Eclipse 3.0M4 related to link traversal that is most likely the cause. One of our users notified us about it here:
    https://www.genuitec.com/forums/topic/external-source-files-linked-resources-closed/

    It’s a bit of a showstopper for M4 if external link support is a must for you.

    –Scott
    MyEclipse Support

    #204411 Reply

    Riyad Kalla
    Member

    I am closing this bug because it was a M4 issue that was fixed in M5.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Cannot open java source file [Closed]

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