Package Details: eclipse-java-bin 4.19-1

Git Clone URL: https://aur.archlinux.org/eclipse-java-bin.git (read-only, click to copy)
Package Base: eclipse-java-bin
Description: Highly extensible IDE
Upstream URL: https://www.eclipse.org
Keywords: editor java text
Licenses: EPL
Conflicts: eclipse-java
Provides: eclipse-java
Submitter: ComicSads
Maintainer: ComicSads
Last Packager: ComicSads
Votes: 15
Popularity: 2.24
First Submitted: 2020-09-21 06:35
Last Updated: 2021-03-22 00:32

Required by (9)

  • jdk-bcl (requires eclipse-java) (optional)
  • jdk-devel (requires eclipse-java) (optional)
  • jdk10 (requires eclipse-java) (optional)
  • jdk7 (requires eclipse-java) (optional)
  • jdk8 (requires eclipse-java) (optional)
  • jdk8-arm (requires eclipse-java) (optional)
  • jdk9 (requires eclipse-java) (optional)
  • kode-studio-bin (requires eclipse-java) (optional)
  • lombok-eclipse-java (requires eclipse-java)

Sources (3)

Pinned Comments

ComicSads commented on 2020-09-22 23:29

eclipse-java by default will download the source code and compile multiple different incompatible versions of eclipse. eclipse-java-bin will download and install the prepackaged Linux binary for eclipse's java edition (and no other version of eclipse)

Typically, the only difference for a package ending in -bin is it uses prebuilt binaries rather than compiling from source, but I specifically made this package because I was salty at how the eclipse-java PKGBUILD downloaded multiple versions of eclipse by default.

Latest Comments

1 2 Next › Last »

ComicSads commented on 2021-03-24 01:42

Removing the "&r=1" will result in a broken PKGBUILD. Try editing the PKGBUILD in a clean directory (that you haven't already run makepkg in) and try to install it using makepkg -si. Removing "&r=1" will cause makepkg to not actually download eclipse, but an html page with a link to download eclipse. As for mirror selection, I believe that's more of a complaint with eclipse's system than with this PKGBUILD. Hardcoding in a Chinese mirror would result in incredibly worse download speeds across the world, and this current setup seems to be the best for most people. If you have a problem with it, you can replace the source link in the PKGBUILD with your preferred mirror.

SuperBart commented on 2021-03-22 05:07

Well, that's not always true. I am in China and our country have eclipse mirrors. However, the offical download link would redirect to an Japanese mirror, which is pretty slow for us. I believe write a line to delete the "&r=1" at the end of the file name would be great for the people who need to change the download link.

ComicSads commented on 2021-03-22 00:32

Adding &r=1 at the end of the line is required. I should know, about a week ago I broke the PKGBUILD by omitting it. As you can see on the download page for eclipse, leaving out &r=1 will just download the webpage. Also on that page, you can see that there is a link to download from the best mirror, that is where I got the current source link (including &r=1)

SuperBart commented on 2021-03-21 05:01

Newer version of Eclipse 2021-03 is avaliable. I changed some lines of PKGBUILD to make it able to install:

pkgver=4.19 _releasemonth="2021-03" New 2021-03 sha512 is: 93d04fe9a69120b15d192d2574db4d67f4fc331edcbd1b3f90a5f5bb7434879e0c79cabf9a22976bddf0af2f28206ae838d4f3ec5123e52e278633ccd3489bf1

Also, download the package from a mirror is a good option. It is not required to add '&r=1' at the end of the line. Especially in some places where Global Internet connect is pretty slow.

jancici commented on 2021-03-15 07:59

I did start elcipse after update. I did check update from help menu and PyDev did update correctly but my C++ dev not. And I also missing marketplace client in help menu. Did I miss some info about changes? Is it bug? thanks

[EDIT] I did find solution. I did remove .eclipse directory and configure eclipse from scratch and everything works ok now.

ComicSads commented on 2021-03-13 23:50

Oops! Didn't realize the &r=1 was so important to the source mirror. Have now double checked the PKGBUILD and seems to be working okay now. Thanks everyone for the helpful comments!

juxuanu commented on 2021-03-13 12:08

As I see, the source points to https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2020-12/R/eclipse-java-2020-12-R-linux-gtk-x86_64.tar.gz which does not download the file.

You need to append &mirror_id=NUMBER which selects a mirror. Which one to use is something to be decided.

My suggestion is to enable something like

_mirror_id = 1099 # Change accordingly if you want faster speeds.

and then

https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/$_releasemonth/R/${pkgname%-bin}-$_releasemonth-R-linux-gtk-x86_64.tar.gz&mirror_id=${_mirror_id}

mookins commented on 2021-03-13 05:24

The URL in the source goes to a mirror selection page. You need to use the direct link which has &r=1 appended to the end of it.

theZMC commented on 2021-03-12 18:59

Seems like eclipse has the wrong checksum up. Verified package checksum with package on eclipse.org and they're the same. Anyone have a contact at eclipse?

juxuanu commented on 2021-03-12 11:57

Checksums are failing.