New install: Ubuntu or Windows

I installed the ubuntu default-jdk

apt-get install default-jdk

Perhaps I should uninstall that and try the oracle?

Yes I would suggest Oracle JDK.

1 Like

No need to answer that. I uninstalled the ubuntu default, installed oracle, bada bing bada boom, it works.

Thanks for the suggestion!

2 Likes

That’s interesting…

I was running Oracle and found that some small bits didn’t work properly.

Can you check…

…:8080/habpanel/index.html#/settings/widgets

Import Widgets
Import from Gallery

I found that the pop up appeared, but it never populated.

Changing to Azul Zulu Embedded 8 (or Zulu 8, depending on your OS) meant that it populated and other things just seem to work that little bit better.

For awhile perhaps. I learned that my battery had completely died during a power outage when I had everything on an old laptop. If you are going to rely on the laptop battery as ups, make sure to pay attention to the battey’s health.

2 Likes

I wonder if Linux got drivers to read that info. My Sony laptop battery health is reported by windows 7, but not sure how to read that from Linux. I am ok if its from command line through proc or sysfs.

I don’t use a laptop for this purpose but on my Ubuntu laptop the battery health is available though the UI
I found this, if that helps:

1 Like

native-path: BAT1
vendor: Sony Corporation
power supply: yes
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: charging
warning-level: none
energy: 15.82 Wh
energy-empty: 0 Wh
energy-full: 19.79 Wh
energy-full-design: 51.06 Wh
energy-rate: 0.011 W
voltage: 11.919 V
percentage: 79%
capacity: 38.7583%
technology: lithium-ion
icon-name: ‘battery-full-charging-symbolic’

It still says warning level “none”. But the capacity 38.75% may be an indicator that the battery is at warning level, as the win7 reports it so. The capacity % and health indicator should be mapped.

It’s a 5 year old laptop…
I assume that the battery is the same age.
Maybe time to invest in a fresh battery. If you will be running the laptop on mains 99.9% of the time as a headless server, the new battry should last forever.

I’d avoid Windows 10, too many updates without the chance to defer them and too much junk running in the background that’s difficult / impossible to turn off, and keep turned off.
I run Debian on a dedicated mini PC and despite being a relative Linux Newbie I’d not touch Windows 10 for reliable, uninterrupted 24/7 work.

2 Likes

I’d also recommend Acronis True Image or a similar disk image saving software, and save an image of the whole partition to somewhere safe from time to time. Booting this from USB has saved me a lot of work when an unexpected power outage bricked Debian after the next reboot

I’m using an old laptop inter core2duo 4gb ram with Ubuntu Server which is running openhabian, PIHole server which is blocking ads on all devices, and planning to add motioneyeos which is raspberry pi zero based Surveillance camera.

Install Ubuntu if you are a hard core developer or have interest in developing field. It is good operating system and more secure than windows os. If you want more suggestion on this topic then contact to Lenovo Support.