2023-03-18 02:32 AM
I ran "SetupSTM32CubeMX-6.8.0.sh", it was prompt:
Check exe path on linux
FullExe path1 is: /usr/bin/SetupSTM32CubeMX-6.8.0
Exe path is: /usr/bin
Search java from relative path ----
Checking java in /usr/bin/./jre/bin/java
Checking java in /usr/bin/../jre/bin/java
Checking java in /usr/bin/../../jre/bin/java
Checking java in /usr/bin/../../../jre/bin/java
Please install Java JRE 11.0.10 or a more recent version
since I have installed java, and the address was:
/usr/bin/java
how could I told the Setup*.sh where java is.
Solved! Go to Solution.
2023-03-23 03:24 AM
One can update to 6.8.0 after run STM32CubeMX 6.7.0
2023-03-18 11:16 AM
i have STM32CubeIDE on MX linux ; and CubeMonitor and CubeProgrammer ;
here also java in /usr/bin/java .
maybe : try installing CubeProgrammer (en.stm32cubeprg-lin_v2-11-0.zip contains lre/java )
and then cubeMX or cubeIDE .
2023-03-18 11:45 AM
Installing the IDE first in accordance with UM2563, then MX on Ubuntu 20.04 worked OK for me. No separate JRE was required.
2023-03-20 06:36 PM
Where did you install them?
2023-03-20 06:36 PM
Where did you install it?
2023-03-21 02:05 AM
Where ??? directory ? -> what it wants... afair /home/STMCubeIDE/workspace..
and the bins.. where it puts them (usr/bin/STM.. ).
if i remember : need to be root, to install ;
and then can happen, only root can work with it...so need give rights to user also
2023-03-23 03:22 AM
I downloaded and installed the version 6.7.0 than the latest 6.8.0, it was OK.
I found the /jre/bin in 6.8.0 zip file was empty,
and what inside /jre of 6.7.0 was:
bin/ conf/ include/ legal/ lib/ release
and inside /jre/bin of 6.7.0 was:
jaotc* jar* jarsigner* java* javac* javadoc* javap* jdeprscan* jdeps* jfr* jimage* jjs* jlink* jmod* jrunscript* keytool* pack200* rmid* rmiregistry* serialver* unpack200*
2023-03-23 03:24 AM
One can update to 6.8.0 after run STM32CubeMX 6.7.0
2023-05-08 12:03 PM
I'm having this same problem with 6.8.1, 6.8.0 and 6.7.0. All give me this error:
Check exe path on linux
FullExe path1 is: /home/todd/installs/SetupSTM32CubeMX-6.7.0
Exe path is: /home/todd/installs
Search java from relative path ----
Checking java in /home/todd/installs/./jre/bin/java
<JAVA_HOME>/lib/ext exists, extensions mechanism no longer supported; Use -classpath instead.
.Checking java in /home/todd/installs/../jre/bin/java
Checking java in /home/todd/installs/../../jre/bin/java
Checking java in /home/todd/installs/../../../jre/bin/java
Please install Java JRE 11.0.10 or a more recent version
Ubuntu 22.04.1
openjdk version "11.0.18" 2023-01-17
I confirmed all the files in jre/bin are executable.
Any suggestions would be appreciated.
2023-05-08 01:26 PM
> I confirmed all the files in jre/bin are executable.
In which jre/bin? is your openjdk under one of location listed above? (relative to /home/todd/installs)
If not, can you create a symlink?