#Java compiler not working on vscode but working in terminal on mac. plz help

1 messages · Page 1 of 1 (latest)

grave tartanBOT
#

Helper please have a look, thanks.

tiny kite
#

okay thats a lot of words

#

try going to the settings for the vscode java plugin

#

if you don't see that, install that

#

but then go to the settings and point it to where jaa is

willow minnow
#

how do i point it

#

i dont understand what happened. it was working automatically like evveryone else in my class, until mine does not compile anymore

#

i think i need to point it but I dont know how

#

that is the settings and the runtime config

#

plz help

#

@tiny kite hello

tiny kite
#

chill a sec, thinking

#

what happens if you click the link in the first image

#

"you can download one"

willow minnow
#

it gives me an optioon to downoad one

#

ima try

#

it gives me an option to dwonload an eclipse version

#

i downloaded the JDK from oracle originally like our professor told us to

#

@tiny kite I was also wondering of others could help me with my problem. potentially make it easier for you

tiny kite
#

well unfortunately, most java developers do not use vs code (though it is perfectly fine if its set up right)

#

so i don't know off the top of my head what is going wrong

#

but small bit of education

#

Oracle, the company + google, microsoft, amazon, etc. make "Java"

#

thats some code which you can "build" and make a "JDK" - java development kit

#

anyone can build that code

#

when oracle puts a java download on their website, it means they built the java code and are hosting a download to "their build" of the JDK

#

historically oracle are assholes, so they've done stuff like say "if you download Oracle's build of java and use it to make money, we will find you and take a huge chunk of cash"

#

that is not currently the case, but they are assholes

#

hence "eclipse temurin"

#

its just another build of java, so 99.99999% -> 100% the same as the oracle download

#

the reason its called "eclipse temurin" is that Oracle owns the name Java

#

and "eclipse temurin" used to call themselves "OpenJDK"

#

and they want their $$$, so everyone has to change to dumb names

#

so that if you google "Java" you end up on them

#

there are other JDK builds like Amazon corretto - again, they had to pick a dumb name

#

(in code when something has a dumb name its either because someone falsely thought it was cool or someone forced their hand)

#

so, in general, use the eclipse one

#

but you are a long ways from oracle knocking on your door

#

(and also the current download won't lead to that)

#

so...don't worry about that

#

as for your setup - lets see if doing the download through the UI fixes it

#

if not, we'll try something else

willow minnow
#

ok. I need to take a break from this for now. THanks for the help.

#

I am baffled by how it went from not working to working. I swear I did nothing.

#

vscode sucks, might have to go to intellij

tiny kite
#

well, remember that if everyone else in your class is using vscode

#

and your teacher is expecting people to use vscode

#

it might be easier for your class to go with the flow

#

but yeah, intellij will "just work" usually

willow minnow
#

i am just again baffled by how it just suddenly stopped working

#

is there anyone else in the disc that uses vscode with ajava that can help me

tiny kite
#

probably

#

for now, if it works, just embrace the chaos

#

you can understand that later

willow minnow
#

it does not work

#

still same errors

#

again, is there anyone in the discord who uses vs and java

#

ok, it seems like its not working for now.

#

thanks so much!

rocky zenith
#

i have the same problem

#

im just gonna use intellij