You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem with compiling the Jar file.
I did it like others in their tutorial videos (just the compiler step), but I am getting the error in the title.
Here is a short video of my problem:
Package names are always written in lower-case letters (e.g. com.test.mypackage)
Class names begin with upper-case letters and are written in UpperCamelCase (e.g. MyClass)
Method names begin with lower-case letters and are written in lowerCamelCase (e.g. myTestMethod)
However, your IDE cannot find your main class to execute. You could try the following approaches:
Click on the project > Run As > Java Application (only for Eclipse, as in your case)
Create a manifest.mf yourself with the entry point (Main-Class). See here for further reference.
Setting the entry point with the JAR tool (e.g. jar cfe MyJar.jar com.test.mypackage.MyClass com.test.mypackage/MyClass.class - note that this command is based on my above examples, you need to adjust the names yourself)
If the above approaches still won't work, please get in touch with us again.
Hello,
I have a problem with compiling the Jar file.
I did it like others in their tutorial videos (just the compiler step), but I am getting the error in the title.
Here is a short video of my problem:
https://youtu.be/DxtmizoAeuQ
I don´t know what to do. If I create a new project, everything is fine. If I add the library and my sourcecode, the compiler doesn´t work anymore.
Where is the mistake? The bot is working fine in the eclipse debugger, but not as standalone.
Thank you so far..
Best regards,
ilegitimx
The text was updated successfully, but these errors were encountered: