Open .java file for .class file

Add this URL to your Eclipse Installation to reach this solution's update site.

2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1), 2019-06 (4.12), 2019-09 (4.13), 2019-12 (4.14), 2020-03 (4.15), 2020-06 (4.16), 2020-09 (4.17), 2020-12 (4.18), 2021-03 (4.19)

https://sandipchitale.github.io/odjfdc/OpenDotJavaForDotClassUpdateSite/site.xml

Learn more...
Solution Description

A simple Eclipse plugin to open .java file for a .class file, if the .java file is present in one of the open Java projects in Eclipse workspace.

How does it work ?

Monitors the opening of a .class editor. Then uses the JDT Java search mechanism to locate the corresponding .java file in any of the Java projects in the Eclipse workspace. It also tries to move the caret to the same offset as .class editor in .java file. By default closes the .class file, however by setting a preference you can opt-in to not close the .class file. The key aspect is that the projects may not even be related via project dependencies. The association of source folder with the .jar file containing the .class file is required for this to work.

Categories: Editor

Additional Details

Eclipse Versions: 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1), 2019-06 (4.12), 2019-09 (4.13), 2019-12 (4.14), 2020-03 (4.15), 2020-06 (4.16), 2020-09 (4.17), 2020-12 (4.18), 2021-03 (4.19)

Platform Support: Windows, Mac, Linux/GTK

Organization Name: Sandip Chitale

Development Status: Beta

Date Created: Saturday, March 2, 2019 - 22:28

License: BSD

Date Updated: Friday, January 15, 2021 - 10:13

Submitted by: SANDIP CHITALE

Screenshot
Date Ranking Installs Clickthroughs
February 2026 383/581 5 8
January 2026 366/631 13 18
December 2025 301/621 22 28
November 2025 317/626 22 9
October 2025 325/637 21 16
September 2025 318/653 22 17
August 2025 306/615 22 30
July 2025 250/636 39 7
June 2025 298/627 26 17
May 2025 267/634 35 7
April 2025 261/623 36 11
March 2025 224/661 78 10
View Data for all Listings

Unsuccessful Installs

Unsuccessful Installs in the last 7 Days: 0

Download last 500 errors (CSV)

Marketplace Drag to Install Button

By adding the following code below to your website you will be able to add an install button for Open .java file for .class file.

HTML Code:

Markdown Syntax:

Output:

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client