Skip to main content
Associate III
December 31, 2025
Solved

Ubuntu 25.10 - STM32CubeIDE creates load of junk in .stm32cubeide\.jxbrowser-7.41.4 folder

  • December 31, 2025
  • 2 replies
  • 501 views

STM32CubeIDE is creating a new folder inside ".stm32cubeide\.jxbrowser-7.41.4" everytime STM32CubeIDE launches.

It would be nice if the application cleaned up its junk, at least deleting old profile subfolders, as each one eats up 75MB.

I just manually deleted over 75 of them dating back to October.

 

Best answer by Mahmoud Ben Romdhane

Hello @Bags ,

 

Let me thank you for posting.

The same issue was reported through this ST Post .

In fact, if users save their ST login information on STM32CubeMX standalone or on STM32CubeIDE, folders into Profile are not being deleted after closing.

I recommend that you work with the latest release

STM32CubeMX 6.16.1

STM32CubeIDE 2.0.0 released

 

 

Thanks.

Mahmoud

 

2 replies

BagsAuthor
Associate III
January 1, 2026

Got bored so to start off 2026 so I wrote this bash script to clean out all the STM32CubeIDE profile junk except for the latest subfolder.

(The outer "if" is optional; its just there as a seperator in my big ubuntu clean up script).

if [ -v DoSTM32CubeIdeHistory ]; then
 STM32Folder=/home/main/.stm32cubeide/.jxbrowser-7.41.4
 if [ -d "$STM32Folder" ]; then
 TMPFILE=$(mktemp)
 ls -t $STM32Folder/Profile >$TMPFILE
 # if more than 1 subfolder was found
 if [ `cat $TMPFILE | wc -l` -gt "1" ]; then
 echo "STM32CubeIde Profile multiple folders exist"
 # The profile subfolder we want to keep is the newest one (1st line of $TMPFILE)
 KEEPFOLDER=$(cat $TMPFILE | head -n 1)
 # easiest way to get rid of the rest is to rename the Profile folder ProfileOLD,
 # make a new Profile folder and move into it the subfolder we want to keep from ProfileOLD.
 # then delete the ProfileOLD folder. 
 mv $STM32Folder/Profile $STM32Folder/ProfileOLD
 mkdir $STM32Folder/Profile
 mv $STM32Folder/ProfileOLD/$KEEPFOLDER $STM32Folder/Profile
 rm -rf $STM32Folder/ProfileOLD
 unset KEEPFOLDER
 echo "STM32CubeIde Profiles cleaned"
 else
 echo "No STM32CubeIde Profile junk found"
 fi
 rm $TMPFILE
 unset TMPFILE
 fi
 unset STM32Folder
fi

I  

Bob S
Super User
January 5, 2026

Not just a Linux issue.  I just checked my Windows PC (Win11 ver 24H2) with CubeIDE 1.18.1 (the latest version I can install due to IT restrictions).  There are temp directories collecting in the C:\Users\username\.stm32cudeide\.jxbrowser-7.41.4\Profile directory, each around 80MB as @Bags found.  It looks like one for each time I start the IDE.

Technical Moderator
January 6, 2026

Hello @Bags ,

 

Let me thank you for posting.

The same issue was reported through this ST Post .

In fact, if users save their ST login information on STM32CubeMX standalone or on STM32CubeIDE, folders into Profile are not being deleted after closing.

I recommend that you work with the latest release

STM32CubeMX 6.16.1

STM32CubeIDE 2.0.0 released

 

 

Thanks.

Mahmoud