READ THIS if TMCBeans is not starting!

We frequently receive posts about TMCBeans - the specific Netbeans version for the MOOC Java Programming from the University of Helsinki - not starting.

Generally all of them boil to a single cause of error: wrong JDK version installed.

The MOOC requires JDK 11.

The terminology on the Java and NetBeans installation guide page is a bit misleading:

Download AdoptOpenJDK11, open development environment for Java 11, from https://adoptopenjdk.net.

Select OpenJDK 11 (LTS) and HotSpot. Then click "Latest release" to download Java.

First, AdoptOpenJDK has a new page: Adoptium.org and second, the "latest release" is misleading.

When the MOOC talks about latest release they do not mean the newest JDK (which at the time of writing this article is JDK17 Temurin) but the latest update of the JDK 11 release, which can be found for all OS here: https://adoptium.net/temurin/releases/?version=11

Please, only install the version from the page linked directly above this line - this is the version that will work.

This should solve your problems with TMCBeans not running.

33 comments · 98% upvoted · other discussions

comments

[deleted]

[deleted]

[deleted]

[deleted]

purple_cape

Same. First I didn’t download the correct JDK. So even once I downloaded JDK 11 it was trying to open it with 21. This saved me

KirbySmashYeet

click into Contents > Resources > tmcbeans > etc

My main issue is that I cannot find this on Linux mint

KirbySmashYeet

I found it, the problem is that I cant modify it, even with nano as it is in a read only file directory.

Any suggestions?

Korsica26

Thanks a lot! I forgot to remove the # after changing the path before. It finally worked now, thanks again.

[deleted]

this worked perfect.

canthumanright

Thank you, finally able to start the Java course!

Brightwing

Thanks, was about to do the udemy course when i found this post :)

faux_papaya_fish

Thank you so much! This is what I was missing.

A2Z786

I managed to run it a few weeks ago but I was getting the similar visual glitch reported here. I cleared everything and installed it again but faced the same issue. Then, I started using VS Code without any trouble.

jerm1698

Tried this but still could not get TMCBeans to run.

desrtfx [OP]

Have you made sure that the system path (java-home) points to the right JDK (JDK 11)?

If you have multiple JDKs installed, the path might point to the wrong one.

jerm1698

Intellij works fine but cant open up TMC set the system settings. It will not opn at all.

desrtfx [OP]

You have not answered my question.

annoyingemptiness

Hello, I have, probably, multiple JDKs installed(because i installed the wrong one first) how do i change the system path (java-home) to point to the right JDK (JDK 11)?

thePhoenixYash

How?

walrusdog32

It still doesn’t work. The only Java on my mac is JDK 11 From your link

I deleted and reinstalled TMC Beans and reset my computer

[deleted]

[deleted]

walrusdog32

thank you so much

yokyopeli09

I've done this but when trying to pull up TMCBeans it says "Cannot find Java 1.8 or higher".

Radamenenthil

did you ever get to fix this?

yokyopeli09

Nope, I gave up.

Radamenenthil
ObiFlanKenobi

I got TMC to work on Netbeans AND VSCode, but overnight it stopped working in VSCode, tried reinstalling but it didn't fix the issue.

Any ideas?

I'm on Windows 11 Home and the version of Java says "Eclipse Temurin JDK with Hotspot 11.0.15+10 (x64)".

purple_cape

I messed it up so bad. I installed the new version of JDK. Then installed the 11. Still won’t open. What a nightmare, been fighting it all day

abcdefghijken

Is there a way to stop AppData from creating tmcbeans? I have tried deleting it but whenever I open TMCBeans it will create the folder for me so I can’t access my projects in dropbox

desrtfx [OP]

You can add any folder to dropbox syncing. Yet, you are not supposed to sync code via dropbox. You are supposed to sync code via git and github.

You also can select any different folder to store your TMC projects in.

Amnesia040

do I also need to install JRE 11?

sencha-lover

Is the JavaFX (part 13 and 14) of this course still not running? (For Mac Users)

Sweaty_Listen2684

This didn't work for me and I don't know why. I'm on a mac and I installed JDK 11 and put the jdk path where it needed to go (right-clicked on tmcbeans and clicked "show package contents" => contents->Resources->tmcbeans->etc->opened tmcbeans.conf with txt editor, etc.) but it still wouldn't open for me. I spent hours searching and trying different solutions.

Found the directions to open TMC in vs code and was up and running in a matter of minutes: https://www.mooc.fi/en/installation/vscode/.

enlguy

So... make sure to use old versions of everything, ignore MOOC instructions, and then maybe you can actually take the course... Seems they should provide even a basic update, or maybe it's better to find a different course?

desrtfx [OP]

They won't update this course anymore. It has been retired.

Yet, it is still one of the best entry courses for Java.

Just because they use older versions doesn't mean a thing. Even the industry to a large part is on even older versions (Java 8) of Java.

No-Interaction6942

This fixed my issue, but I couldn't get my tests to run with this error:

The JAVA_HOME environment variable is not defined correctly

I fixed this by going to start menu > Edit the system environment variables > deleting the JAVA_HOME variable, restarting Netbeans and it worked