#field outside of Main
1 messages ยท Page 1 of 1 (latest)
<@&987246487241105418> please have a look, thanks.
Here is an AI assisted attempt to answer your question ๐ค. Maybe it helps! In any case, a human is on the way ๐. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.
Of course! I'd be happy to help you with JavaFX or Swing. Can you please provide more details about what you need assistance with?
put it into class
oh
ur code must be inside
how do I make a new class
why do u want to create a new class?
what are u even trying to achieve?
not sure...
tell me what u want to do and ill tell u how to do that
how do I make the class thingy come down so I can write the code
not sure what u mean by that
I'm just following a guide ๐ญ
what sort of code do u want to write
In todays, Java Tutorial for Minecraft Modding, we are talking about Java Data Types. An essential topic to understand programming and working with Java!
== SUPPORT ME ON PATREON ==
โถ๏ธ https://url.kaupenjoe.net/patreon
== ASSETS & DOWNLOAD LINKS ==
GitHub Repo: https://github.com/Tutorials-By-Kaupenjoe/New-Java-Introduction/tree/2-dataTypesA...
i bet the guide didnt tell u to do it like that
I doubt it yes
that youtube video has everything inside the main method
not outside
and its int, not Int
id suggest u follow a "proper tutorial". we recommend mooc
MOOC is a completely free introductory Java course created by the University of Helsinki, it is a great way to learn Java from the ground up.
It consists of two parts, one at beginner, and another at intermediate level. The end of the course is marked by creating your own Asteroids game clone!
Even though the instructions show how to configure and use NetBeans for the course, you can use IntelliJ. To use IntelliJ, simply install the TMC plugin by opening IntelliJ -> File -> Settings -> Plugins and searching for TMC. You will then be able to use IntelliJ to complete MOOC.
Visit MOOC here: https://java-programming.mooc.fi/
(the course is available in both English and Finnish)
About the course - Java Programming
thats also not what the youtube video did
yes right now I'm trying to fix the guide
I mean
the class
not the guide
see, ur problem is that ur doing stuff thats way ahead of ur current level without understanding what ur doing at all
ur doing random stuff
and that wont work at all
the youtube guide works. but ur not doing what they are doing
well yeah that pretty much sums it up
u either have to follow ur yt guide properly and do it like they do (then it also works)
or u learn it proper by following mooc instead
okay but like...
how do I fix my class?
but writing random stuff wont work
but ur putting it at the entirely wrong place
and also writing it wrong
the guide makes the int inside the main method
not outside
u still put it outside
im repeating myself
ur main method ends in line 6
with that }
u have to put ur code inside
yes
if u dont follow a proper guide u will be lost right on the next step though
and then on the step after that again
and so on
hence i gave u a good resource to learn java
mooc is the best guide to learning java, in our opinion
before u can do minecraft mods, u have to learn java
minecraft requires u to have advanced java knowledge
otherwise its pain and suffering
ur not the first who comes here with that goal in mind
it happens pretty much once a week

oh well
mooc it is then
how much time do you think it will take me to get competent in java
from zero to junior job, its usually 2-3 years
I see
I'm following mooc and I don't need to change my program right?
can I just keep on using intellij
You can use IntelliJ, see the bot message ^^
yay!
@past breach
I'm following the guide
the one you told me to
but it still errors
You cannot have spaces in a class name
and it needs to be the same as the name of the file
Your class name is currently Main Ada Lovelace but it should be Main because your file is called Main.java
You need to follow the guide
Not just type about the same, but exactly as they do it
It didn't tell you to name your class 'Main Ada Lovelace`
It told you to name your class 'AdaLovelace'
You can also watch the video above the exercise
it's in another language
and the video does not use
uh
intellij