net beans Modules can't start - java

So I downloaded net beans C and C++ pack, and when I first opened it, it showed this warning message:
It works, but I want to fix this problem because it might do some problems in bigger programs I will create.
I have also tried to go to the link that was in the warning message that I posted here, but I really did not understand anything in there so it didn't help at all.
So if anyone knows what the problem is, and how to fix it, please tell me.

Related

"The type ... is not exported from this module" warning

I got a warning I couldn't figure out what the problem is.
Maybe I googled for the wrong words, I don't know.
I hope someone could tell me what the warning actually means.
My programm works fine, but I think there is a reason for this warning and I want to know what it is.
Edit: I can show the whole code if needed, but it's literally just a class that uses another class in it's methods.
I did the same in other projects before, without such a warning.

I can't find a solution for "The type org.newdawn.slick.opengl.Texture is not accessible"

I'm trying to learn how to make a 3d game engine in java following the tutorials from ThinMatrix (loving them so far). The problem is that one of the libraries from slick-utils seems to be missing? or corrupted? or not supported? I don't really know and I'm a total begginer in LWJGL, OpenGL and big java projects. I searched the error and nothing seems to work or the solutions are too problem specific, ie. related to an error in the coding rather than in the libraries.
There's not much code to show, I add the import in the class and the IDE prompts me with the error on the title: "The type org.newdawn.slick.opengl.Texture is not accessible".
On the comments of the video there was a "solution" that seems to have worked for at least 5 people, but for some reason it doesn't work for me.
The problem in the solution code (that avoids using slick-utils) is that there's a MemoryStack class that I can't seem to find anywhere, I serached the text that the IDE prompts me but it was fruitless...
This is what I searched for: "MemoryStack cannot be resolved", and for the life of me I can't find how to import, resolve, or do anything, really.
I'm really frustrated and google isn't my friend today, it seems.
I think there may be a problem with the LWJGL libraries that I'm using (I don't remember if I'm using LWJGL2 or 3, I believe 2 because the tutorials are from 2014 and 3 didn't exist yet? Idk), but I can't figure out what's the problem and all the hints that the IDE trows at me are leading me to flat out dead ends.
Thanks so much for reading, and helping me if you can! I can show the code but I don't think it matters that much, as the problem seems to come from the slick-utils library being corrupted or something, or that I don't understand how to add it properly to my project.
This should be the minimum reproducible example:
import org.newdawn.slick.opengl.Texture;
This is the first question I make so feel free to tell me if I'm missing something or whatever! :)
It's often the case that googling specific parts of a new error message will find other people who have had the same problem. When I google that class name, I find someone who had the exact same problem that you did, many years ago. The thread shows where to find the library which has that class.
https://gamedev.stackexchange.com/questions/35047/where-can-i-find-the-library-for-org-newdawn-slick-opengl-texture

Eclipse Crashing when Associating External Editors

I've recently been attempting to set up SceneBuilder but suddenly my copy of Eclipse crashes pretty much instantly when I attempt to try and associate any external editor with a file type (not just XFXML). I've done some research and this seems to be the only page I can find talking about the issue, but I'm not sure how to take the advice therein.
I've linked the error log generated by these crashes. If anyone has experience something similar or has any idea how to go about troubleshooting this issue I'd greatly appreciate your input!
//I've included this code block to allow the pastebin link to work. There have
not been any issues with programming as the IDE won't operate as expected.

NoClassDefFoundError Constructor.newInstance

I have a big project that has several classes running together. I'm not sure how I can post it on here but basically i'm running into this NoClassDefFoundError. I have like 20 Classes in this Java Program, pretty basic stuff for you guys its a ShoeStore and BookStore. I just don't get whats happening, and i'm unsure of how to post it all for someone to look through it and see what is going on because I am totally stumped. I have no idea why this is happening to me now I've never had this problem before.
Can anyone help me? I'm pretty sure you need to see the whole program just to know where i'm running into issues.
I apologize for not having the code here, but i'm just unsure of how to proceed as I think this effects the entire program and its classes
I have commented below on my situation. I've gone through all my classes and I don't see anything misnamed but I could be wrong, doesn't seem to help that other article for what i'm seeing.
"java.lang.NoClassDefFoundError: Could not initialize TestAssignment1 at java.lang.Class.forName0(Native Method)" is what its saying to me " this is what i'm seeing
It turns out I just initialized the HashMap completely wrong and I didn't even notice. Thank you for your help guys, pretty impossible thing to figure out without the entire code

Issue with eclipse; a java null error that I cannot solve

Okay so here's the jiff of it, I was changing the android API in the Android Manifest and the Android Manifest from the "bin" folder. I changed the API from 10 to 12 manually by removing the 0 and adding a 2. Now, when I go to save the project its giving me this error found in the image:
This is incredibly and extremely annoying not being able to find the problem. Yes, I am aware that there are other questions with this matter but I can't find anything that is useful/fixing my problem so I'm asking for help here. If anyone could help me fix my problem that would be beyond awesome! Also, if needed I can put some code. Something to take note is that there aren't any errors coming up in the LogCat but just this annoying pop-up.

Categories