WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: java tweaks  (Read 1887 times)

Offline thane

  • Hero Member
  • *****
  • Posts: 689
java tweaks
« on: January 26, 2016, 05:05:41 PM »
After telling the user to download jdk-*u*-linux-i586.tar.gz, the java-installer app creates both jdk*.tcz and jre*.tcz extensions, and then tells the user to add jdk*.tcz to onboot.lst.

My understanding (correct?) is that only jre is needed for web browsing, so I put jre8.tcz in onboot.lst instead. This appears to work and speeds the boot time a little.

I also added home/tc/jdk-*.tar.gz to .xfiletool.lst, since I'm always forgetting to delete the downloaded tar file when I reboot after installing! I wonder if deleting the tar file after creating the extensions should be added to the java-installer processing, or if there's a downside to this.

Thane
« Last Edit: January 26, 2016, 05:07:53 PM by thane »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: java tweaks
« Reply #1 on: January 26, 2016, 08:26:44 PM »
That would be making 2 possibly false assumptions.
1. You do not want to keep the file.
2. The location of the tar file.

Offline thane

  • Hero Member
  • *****
  • Posts: 689
Re: java tweaks
« Reply #2 on: January 27, 2016, 09:12:30 AM »
I agree that 1) is a valid point, although personally I have never had a reason to keep the tar file once the extensions were created.

For 2) the java-installer app does require that the tar file be located at /home/tc, so the app could delete it from there. But if indeed there are reasons to keep the tar file until the user specifically deletes it, that would not be a good idea.