Package Details: datagrip 2024.3.3-1

Git Clone URL: https://aur.archlinux.org/datagrip.git (read-only, click to copy)
Package Base: datagrip
Description: Smart SQL Editor and Advanced Database Client Packed Together for Optimum Productivity
Upstream URL: https://www.jetbrains.com/datagrip/
Licenses: custom:jetbrains
Conflicts: 0xdbe, 0xdbe-eap
Submitter: freswa
Maintainer: freswa
Last Packager: freswa
Votes: 64
Popularity: 0.020281
First Submitted: 2015-12-16 16:43 (UTC)
Last Updated: 2024-12-20 09:41 (UTC)

Dependencies (3)

Required by (0)

Sources (3)

Latest Comments

1 2 3 4 Next › Last »

Cravix commented on 2024-08-31 13:10 (UTC) (edited on 2024-09-03 06:01 (UTC) by Cravix)

Hi there, I keep getting error as below when running datagrip, while intellij idea and pycharm do work:

Cannot find a runtime

Caused by:
    Runtime not found

Please try to reinstall the IDE.
For support, please refer to https://jb.gg/ide/critical-startup-errors

--update:

I tried to use /opt/datagrip/bin/datagrip.sh to start datagrip, and it works fine. Could it be better to change Exec attribute in desktop file to .sh executable?

Roknauta commented on 2024-08-13 10:40 (UTC) (edited on 2024-08-13 10:41 (UTC) by Roknauta)

To fix error:
- Start with .sh as mentioned by @blastah
- Open menu: Choose Boot Runtime for the IDE and select the recent runtime Jetbrains.
- Close IDE and open by shortcut

Corpswalker commented on 2022-08-12 07:33 (UTC)

Hi, I adapted the package to work also with aarch64 architecture (on my Mac M1 at least). Here is the patch:


diff --git a/PKGBUILD b/PKGBUILD
index 7aeb045..adc8d8a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,6 +4,9 @@ pkgbase=datagrip
 pkgname=(datagrip datagrip-jre)
 pkgver=2022.2.1
 pkgrel=1
+jbr_ver=17.0.3
+jbr_build=aarch64-b469
+jbr_minor=37
 pkgdesc='Smart SQL Editor and Advanced Database Client Packed Together for Optimum Productivity'
 arch=('any')
 url='https://www.jetbrains.com/datagrip/'
@@ -14,9 +17,26 @@ options=('!strip')
 source=("https://download.jetbrains.com/${pkgbase}/${pkgbase}-${pkgver}.tar.gz"
         jetbrains-datagrip.desktop
         LICENSE)
+source_aarch64=("https://cache-redirector.jetbrains.com/intellij-jbr/jbr-${jbr_ver}-linux-${jbr_build}.${jbr_minor}.tar.gz"
+                "https://github.com/JetBrains/intellij-community/raw/master/bin/linux/aarch64/fsnotifier")
 b2sums=('fafb7a654b3ff53c362c2368898fc92cb2b8972e856e29b720da74902eb6257e5049319197902cecb33e6130f9d48da3b6fa84a2672d10fd4fa92e3bf50a8727'
         '780f396da1c57c872b17e10576f2671346ad7c0442efec77369428b465befe772b5fd2c9c81a46ffe458472c2550082fb12adaf9d39b51fb41499bfb1bbca441'
         'dadaf0e67b598aa7a7a4bf8644943a7ee8ebf4412abb17cd307f5989e36caf9d0db529a0e717a9df5d9537b10c4b13e814b955ada6f0d445913c812b63804e77')
+sha256sums_aarch64=('737242bdd6795a14897ff97bb0bb8d99e7a1a5878a6d2f942712147b20312320'
+                    'eb3c61973d34f051dcd3a9ae628a6ee37cd2b24a1394673bb28421a6f39dae29')
+
+
+build() {
+  # https://youtrack.jetbrains.com/articles/IDEA-A-48/JetBrains-IDEs-on-AArch64#linux
+  if [ "${CARCH}" == "aarch64" ]; then
+    cd "${srcdir}"
+    cp -a fsnotifier DataGrip-${pkgver}/bin/fsnotifier
+    chmod +x DataGrip-${pkgver}/bin/fsnotifier
+    rm -r DataGrip-${pkgver}/jbr
+    cp -a jbr-${jbr_ver}-${jbr_build} DataGrip-${pkgver}/jbr
+    cd ../
+  fi
+}

 package_datagrip() {
   optdepends=('datagrip-jre: JetBrains custom Java Runtime (Recommended)'

diogobaeder commented on 2021-09-20 21:49 (UTC)

Sorry, I deleted my previous comment (about trying to make datagrip work with datagrip-jre) because it was just stupid - only later I realized that datagrip doesn't depend on datagrip-jre to be installed, so after I explicitly installed it, datagrip works just fine. My bad, lack of attention, sorry...

freswa commented on 2021-09-20 21:46 (UTC) (edited on 2021-09-20 21:46 (UTC) by freswa)

Create ~/.config/JetBrains/DataGrip2021.2/datagrip.jdk with the path to the jdk you would like to use. E.g. /usr/lib/jvm/java-11-openjdk

newsboost commented on 2021-08-25 10:50 (UTC)

For the reference, this solved my problem: archlinux-java set java-11-openjdk

newsboost commented on 2021-08-24 08:04 (UTC) (edited on 2021-08-24 08:05 (UTC) by newsboost)

@freswa: Thanks - I thought I had the latest JRE: I have "extra/jre-openjdk 16.0.2.u7-1 (183.7 KiB 507.4 KiB) (Installed)" and 'java -version' says: 'openjdk version "1.8.0_292"'. But I uninstalled and installed datagrip-jre. The problem is that I don't see any "datagrip" binary executable to start. I don't understand that (unlike for the other package). So I'm thinking, maybe it's better to install via snap, although I prefer Arch-packages (incl. AUR)... hmm... Snap is last resort.