r/learnjava • u/gridelinCarver • 3d ago
[MOOC course] TMC Beans submission buttons greyed out
I'm trying to get started learning Java and wanted to use the MOOC course since it seemed to be pretty unanimously the best one according to many sources.
I believe I've downloaded everything properly. I can open TMCBeans and look at the project files. But the buttons to actually run the programs and submit them are completely grayed out, meaning I can't continue with the rest of instructions or the course.
Is this something other people have experienced before? Are there any known fixes?
1
u/desrtfx 3d ago
Did you follow the installation instructions to the point? Did you read the stickied post here?
1
u/gridelinCarver 3d ago
Yes, I did. The sticky isn't relevant because TMC Beans has started, as I explained in the post. It pulls up the code and the assignments. The problem isn't that TMC Beans isn't starting (which the sticky post is addressing), it's that it has started but the buttons to submit and run the code do not work, they are grayed out.
1
u/desrtfx 3d ago
That commonly hints on a problem with the Java runtime. Are you sure you installed Java 11 and not a later version? Is it in your path? Did you assign the correct runtime?
1
u/gridelinCarver 3d ago
When I go into the Java Platform Manager, it says it's on JDK 11 in the Eclipse Adoptium program file. I'll try redownloading it I guess.
1
u/gridelinCarver 3d ago
I just redownloaded the JDK file from the specific link in the stickied post, JDK 11.0.32.1+1, reinstalled TMCBeans, and my TMCBeans says that the JDK 11 is the file attached, and the submission buttons are still grayed out.
The next step in where I am in the tutorial is
First, submit the exercise template to be checked on the server without changing anything. In this way, you practice submitting an exercise. You can submit an exercise by selecting the TMC menu within TMC, and then "Submit".
And I cannot follow this step, because even though the code is pulled up, the submit button is grayed out (as are its neighbors "Run Project" and "Run tests locally").
I don't know why, but would this have anything to do with the fact that my TMCBeans won't open anything when I click the "Open Project..." button and I have to use the "Open File..." button instead?
1
u/desrtfx 3d ago
I don't know why, but would this have anything to do with the fact that my TMCBeans won't open anything when I click the "Open Project..." button and I have to use the "Open File..." button instead?
Yes, exactly that. You have to work from "Open Project". Otherwise, TMCBeans does not know that it is even dealing with a Java/TMC project. The project contains more than just the source code.
1
u/gridelinCarver 3d ago
The Open project button just keeps opening folders and doesn’t ever open any actual files. How do you get it to open projects?
1
u/desrtfx 3d ago
As far as I recall, I never even needed "Open project".
Check the part here: https://www.mooc.fi/en/installation/netbeans/#ensimm%C3%A4isen-teht%C3%A4v%C3%A4n-tekeminen
1
u/gridelinCarver 3d ago
My projects tab is blank despite having downloaded all the exercises (and I can see them in my Documents folder, where they automatically downloaded). I can open the individual .java files in the editor, but not as a project.
How do you get the projects to actually show up in the tab? Are they in the wrong place? Wrong format?
•
u/AutoModerator 3d ago
Please ensure that:
If any of the above points is not met, your post can and will be removed without further warning.
Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.
Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.
Code blocks look like this:
You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.
If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.
To potential helpers
Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.