WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Bug in adoptopenjdk-12 installation script  (Read 2152 times)

Offline AlmostTmp17022020

  • Newbie
  • *
  • Posts: 6
Bug in adoptopenjdk-12 installation script
« on: February 16, 2021, 03:14:12 PM »
Hello, people, and thank you for TinyCore Linux!
There is a little bug in post-installation script of "adoptopenjdk-12.tcz" extension of CorePure64 v11.1.

Line 4 of "/usr/local/tce.installed/adoptopenjdk-12":

Quote
[ -d /lib64 ] ll mkdir -p 755 /lib64

should probably be:

Offline AlmostTmp17022020

  • Newbie
  • *
  • Posts: 6
Re: Bug in adoptopenjdk-12 installation script
« Reply #1 on: February 16, 2021, 03:27:49 PM »
I couldn't post the fixed script, so there it is in the attachment.

Offline AlmostTmp17022020

  • Newbie
  • *
  • Posts: 6
Re: Bug in adoptopenjdk-12 installation script
« Reply #2 on: February 16, 2021, 03:34:19 PM »
Or else the post-installation script makes "/tce/optional/755" directory instead of changing "/lib64" attributes.

P.s. Sorry for making "temporary" account, but my browser doesn't open the forum in HTTPS mode, and I don't want to make regular account via insecure HTTP connection.

And again, thank you and good luck!

Offline AlmostTmp17022020

  • Newbie
  • *
  • Posts: 6
Re: Bug in adoptopenjdk-12 installation script
« Reply #3 on: February 25, 2021, 01:42:23 PM »
Found out that the fix is much simpler:
Quote
[ -d /lib64 ] ll mkdir -p -m 755 /lib64

By the way, have made installers for AdoptOpenJDK v15.0.2 build 7 (2021-01-21) and v17 build 10 (2021-02-23), JRE version.

The scripts are "semi-universal" – JDK version, archive subdirectory and tar.gz name must be tuned for other jdk versions (variables are at the beginning of script).

12459 bytes, md5: e7628b8ad24570ec0ded360a88e87140 *jre-installer.zip

Offline AlmostTmp17022020

  • Newbie
  • *
  • Posts: 6
Re: Bug in adoptopenjdk-12 installation script
« Reply #4 on: February 25, 2021, 01:44:59 PM »
Again, thank you all and good luck!  ;)

Offline AlmostTmp17022020

  • Newbie
  • *
  • Posts: 6
Re: Bug in adoptopenjdk-12 installation script
« Reply #5 on: February 25, 2021, 08:55:20 PM »
And forgot :-[ to mention, the scripts are modified "java-installer.tcz" by Sercan Arslan and Anno Langen. The authors are them.