Showing posts with label Eclipse. Show all posts
Showing posts with label Eclipse. Show all posts

Thursday, July 4, 2019

Eclipse Shortcut for Ubuntu Unity

Eclipse Shortcut for Ubuntu Unity

a shortcut to run Eclipse on Ubuntu Unity and to register Eclipse with the left Launcher

Installation

In your terminal,
cd ~/.local/share/applications
wget https://gist.github.com/raw/2922285/eclipse.desktop
chmod u+x eclipse.desktop
vim eclipse.desktop
# edit eclipse.desktop to replace "<ECLIPSE_DIR>" with your eclipse directory

Register Eclipse with Unity Launcher

  1. In your terminal, xdg-open ~/.local/share/applications to open the directory with the file browser
  2. Drag and drop the eclipse.desktop on Unity Launcher
# Eclipse Shortcut
# https://gist.github.com/2922285
[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
Icon=<ECLIPSE_DIR>/icon.xpm
Exec=<ECLIPSE_DIR>/eclipse
Terminal=false
Categories=Development;IDE;Java;
StartupWMClass=Eclipse

Reference:

Friday, September 21, 2018

Steps to add the Java Decompiler in Eclipse :

http://jd.benow.ca/

Release

Source code

Installation

  1. Download and unzip the JD-Eclipse Update Site,
  2. Launch Eclipse,
  3. Click on "Help > Install New Software...",
  4. Click on button "Add..." to add an new repository,
  5. Enter "JD-Eclipse Update Site" and select the local site directory,
  6. Check "Java Decompiler Eclipse Plug-in",
  7. Next, next, next... and restart Eclipse.

To Add the Class patterns follow the following steps.

To Make it work in Eclipse Poton- 
I had to do some additional steps.
Eclipse -> Windows -> Preferences ->General -> Editors -> File Association
  1. Select "*.class" and mark "Class File Editor" as default
  2. Select "*.class without source" -> Add -> "Class File Editor" -> Make it as default
  3. Add "*.jar" in FileTypes and -->Add -> "Class File Editor" -> Make it as default
  4. Add "*.war" in FileTypes and -->Add -> "Class File Editor" -> Make it as default
  5. Restart eclipse

Recent Post

Databricks Delta table merge Example

here's some sample code that demonstrates a merge operation on a Delta table using PySpark:   from pyspark.sql import SparkSession # cre...