Loading...
 

STM32MP1 support available in SW4STM32

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world.
And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4; you can download a short video showcasing this on the ac6-tools website (registration required).

System Workbench for STM32


Ubuntu 18.04: Installer does not find JRE

Hi there,

trying to install sw4stm32 on my system:

Description: Ubuntu 18.04.1 LTS

Release: 18.04

Codename: bionic


I did try both v2.7 and latest vs Java 8 and Java 11:

java 11.0.1 2018-10-16 LTS

Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)

Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)



And

java version “1.8.0_191”

Java(TM) SE Runtime Environment (build 1.8.0_191-b12)

Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)


output is always :

install_sw4stm32_linux_64bits-latest.run: 34: install_sw4stm32_linux_64bits-latest.run: [: not found

install_sw4stm32_linux_64bits-latest.run: 67: install_sw4stm32_linux_64bits-latest.run: [[: not found
Checking integrity... (could take a while, -m to bypass)
Extracting JRE... done
install_sw4stm32_linux_64bits-latest.run: 124: install_sw4stm32_linux_64bits-latest.run: [[: not found
install_sw4stm32_linux_64bits-latest.run: 127: install_sw4stm32_linux_64bits-latest.run: [[: not found
No JavaRE found, please download and install JavaRE 7 (64 bits) or newer version.

Go to http://www.oracle.com/technetwork/java/javase/downloads/index.htmlQuestion


Do I need to downgrade to java7 ?

France

Looking at the messages above, it seems you don’t use bash as you login shell; could you try typing chsh at a command prompt and switch to /bin/bash if you have another shell?

Of course you must first check that bash is installed on your system by trying to execute it directly, or typing which bash

Then try again to install System Workbench for STM32

Bernard (Ac6)

Seems I am using /bin/bash already:

$which bash

/bin/bash


similar with chsh:

Enter the new value, or press ENTER for the default

Login Shell /bin/bash: