#need JAVA_HOME to match location of installation

1 messages · Page 1 of 1 (latest)

deep quarry
#

I was trying to do a rebase from one branch to another.
Unexpectedly there was a conflict. I opened the file in P4Merge and after reesolving the conflicts I saved it.
However the file did not update with the changes made in P4Merge when I opened it in the conflict window of GitKraken.
I still tried to mark the file as resolved in GitKraken but now it is hanged and I am not able to do anything

buoyant vesselBOT
#

<@&987246964494204979> please have a look, thanks.

buoyant vesselBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

stoic lodge
#

might be worth starting from the beginning

#

so do git rebase --abort

#

run git rebase again

#

as you're working on the conflicts, actually make sure the changes are being saved

#

you might find it better to do it through Intellij

deep quarry
#

yeah i did that

#

shut gitkraken and reopened it and did everything from the beginning

#

seemed to work

#

lol rebase was successful but smh these files are now there in my editor

#

is that because the file is still open in my merge tool?

#

i closed that application but its still there lool

#

should i just delete it?

stoic lodge
#

Yeah just delete them

buoyant vesselBOT
#

Changed the category to Together Java Bot.

#

<@&987246924425994290> please have a look, thanks.

#

need JAVA_HOME to match location of installation

#

Changed the title to need JAVA_HOME to match location of installation.

deep quarry
#

so then i tried to run a gradle task but this came

#

i have set my jdk to temurin-19

stoic lodge
#

did you update your environment variables?

deep quarry
#

but im not able to find its location in my explorer to set java home to the bin

deep quarry
#

i cant find the path of temurin-19

#

to add that in my PATH

stoic lodge
#

ah right so you need help locating the directory

#

is your "java -version" correct?

deep quarry
#

no the path isnt updated so java -version gives temurin 18

stoic lodge
#

redownload it and check the default installation path

deep quarry
#

ufff

#

no way i can find its path from intellij?

#

iirc i had downloaded it through intellij itself

stoic lodge
#

@deep quarry user.home/.jdks

#

i.e. C:\Users\<name>\.jdks

deep quarry
#

tysm

#

i totally forgot about that

#

i have to include the bin folder right?

#

yup looks like it worked

#

or not...

#

bruv wtf

#

oh

#

for some reason it does not create a new command prompt in intellij

#

when i close one

#

ig ill do it in cmd then

#

its supposed to be the bin only right?

#

or something else?

sharp juniper
#

it's the folder above

#

and PATH is %JAVA_HOME%\bin

rugged lava
#

@sharp juniper small side question on the path ( as its that i've done a few versions ago ). I changed my java_home NOT to the actual java folder, but to the parent holder folder ( for example in OP's path -> c:/users/Abc/.jdks/ ) . Is there a downside to that approach?

sharp juniper
deep quarry
#

right that's what location of java installment means facepalm

#

nice, thanks

#

so now i can finally start working on my feature

#

if im feeling it

#

so the thing is i had needed to use a database to store all the message ids which had been linked in the starboard by the bot, so that they are not duplicated

#

for that I just need to create a new table, send the database object of Features#createFeatures to my constructor, get my desired table from it, then learn some sql and jooq to retrieve the entry i need right?

#

that is what i understood from other uses of databases in our project

stoic lodge
#

Better to use Hibernate

deep quarry
#

well tj bot uses jooq 🤷‍♂️

stoic lodge
#

why

#

well whatever reason, yeah you're probably right

serene hemlock
# stoic lodge why

bc jooq is beginner friendly. this was discussed early on and was picked bc of that over alternatives

deep quarry
#

Oops forgot to make this free

#

I'll create a new thread for wtv jooq questions I have