#BuildTools - kovante

1 messages · Page 1 of 1 (latest)

dire glade
random saddle
#

hi

dire glade
#

wait wrong name

#

smh

#

anyways

random saddle
#

want me to show you my files n shit

dire glade
#

what version are you looking for?

random saddle
#

1.17

dire glade
#

what OS?

random saddle
#

windows

#

i have java 17

dire glade
#

k, open windows powershell

random saddle
#

ok

#

done

dire glade
#

do you know how to use cd ?

random saddle
#

yes i was doing that in git bash

dire glade
#

ok, cd to the directory that the BuildTools.jar is in

random saddle
#

done

#

so it should be like this right

dire glade
#

yes

#

now do java -jar BuildTools.jar --rev 1.17

#

or 1.17.1

random saddle
#

watch this

#

this is the shitty error i always get

#

its actually a bit different

#

point is it never works lol

dire glade
#

uh

#

java -jar BuildTools.jar --rev 1.18

#

not

#

-jar BuildTools.jar --rev 1.18

random saddle
#

ah yes this is the error

#

this is the same shitty installation that always happens

#

every

#

single

#

time

dire glade
#

can you do java --version

royal vapor
#

can you copy the output of powershell too

#

its hard to see the whole error

dire glade
random saddle
royal vapor
#

i need you to copy it from the stdout please dont screenshot

#

i cant read it

dire glade
#

i dont know if its because im on a mac but thats a bit different from what i have

java 17 2021-09-14 LTS
Java(TM) SE Runtime Environment (build 17+35-LTS-2724)
Java HotSpot(TM) 64-Bit Server VM (build 17+35-LTS-2724, mixed mode, sharing)
random saddle
#

its the most recent one on azul

royal vapor
dire glade
#

yea i think you should reinstall java, or download a JRE instead

royal vapor
#

no

#

its fine

#

can you please run buildtools again and copy the whole output

random saddle
#

its not a java issue because i had this same error on a 1.16.5 installation

royal vapor
#

i need to see the stack trace and the class of the exception

dire glade
#

BuildTools - kovante

#

dont mind that

random saddle
dire glade
royal vapor
#

its fine i can read it

random saddle
#
Java Version: Java 17
Current Path: C:\Users\james\Downloads\BuildTools\.
*** Using downloaded git PortableGit-2.30.0-64-bit\PortableGit ***
*** Please note that this is a beta feature, so if it does not work please also try a manual install of git from https://git-for-windows.github.io/ ***
git version 2.34.1.windows.1
Git name not set, setting it to default value.
error: could not write config file C:/Users/james/.gitconfig: Permission denied
Exception in thread "main" java.lang.RuntimeException: Error running command, return status !=0: [C:\WINDOWS\system32\cmd.exe, /D, /C, git, config, --global, user.name, BuildTools]
        at org.spigotmc.builder.Builder.runProcess0(Builder.java:964)
        at org.spigotmc.builder.Builder.runProcess(Builder.java:895)
        at org.spigotmc.builder.Builder.main(Builder.java:249)
        at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:27)```
#

there u go anyways

royal vapor
#

git is unable to write to your gitconfig file

#

can you try deleting the .gitconfig file in your home directory

random saddle
#

how do i get there

royal vapor
#

so C:\Users\james

random saddle
#

right

dire glade
#

alright looks like you guys got this sorted cya C:

random saddle
#

thanks for the help

royal vapor
#

does it work after deleting your git config

random saddle
#

uh

#

how get there ;-; im sorry

royal vapor
#

just go to that directory

random saddle
#

just my user?

royal vapor
#

yeah your home directory

random saddle
#

oh lol i thought you were gonna say something else ok

#

ok im there

#

there isnt a git config

royal vapor
#

do you see a file named .gitconfig

random saddle
#

no

#

its just that

#

thats excluding my other files n shit

royal vapor
#

do you have hidden files on

random saddle
#

no

royal vapor
#

well get on that

#

i would show you where to click but im on windows 11

#

so it wont translate

random saddle
#

yeah theres still nothing

royal vapor
#

do you have git installed on your computer

random saddle
#

eys

#

yes

#

ive installed it many times

#

actually

#

now that i mention it

#

imma reinstall it

royal vapor
#

ping me if you are still having trouble

random saddle
#

because this little rat buildtools has reinstalled the portable like 10 times

#

idk if that relates

royal vapor
#

it doesnt install anything

random saddle
#

oh

royal vapor
#

its portable

random saddle
royal vapor
#

it just downloads it and runs the binary

random saddle
#

then yeah im good

royal vapor
#

yeah so you have git for windows

random saddle
#

yes

royal vapor
#

go into git bash

random saddle
#

there

royal vapor
#
git config --global user.name kovante
git config --global user.email >your email here<```
#

just do that

#

see if it fixes the configuration issue

random saddle
#

2 dfifferent commands?

royal vapor
#

yeah two lines

random saddle
#

ok

#

uh oh

#

@royal vapor

royal vapor
#

yeah im lookin

random saddle
#

y or n

royal vapor
#

your folder permissions are fucked but lets just ignore that for now

#

this is far from perfect but can you create a text file in your folder and rename it .gitignore

random saddle
#

lmfao

#

okay

#

likie thats it

#

no file type

#

or name

royal vapor
#

that is the filename

#

.gitignore

random saddle
royal vapor
#

wait not gitignore

#

.gitconfig im an idiot

royal vapor
#

yeah

random saddle
#

huh

royal vapor
#

did you open it in notepad

random saddle
#

yes

royal vapor
#

or did windows decide it was time to compress

random saddle
#

well no

royal vapor
#

yeah close it

random saddle
#

i didnt

#

yeah no i didnt

#

should i close git

royal vapor
#

yeah for now

random saddle
royal vapor
#

yeah just hit ok

#

thats the git process you were using

random saddle
#

wtf same issue

#

it says try again

royal vapor
#

you have ntfs compression on no? it randomly takes hold of files to compress them i hate it so much

random saddle
#

idk what that is

#

lol

royal vapor
#

the ↘️↖️ on every file

random saddle
#

yes

royal vapor
#

right click your c drive and go to properties

random saddle
#

i was wondering what that was

royal vapor
#

we need to disable that thats windows' shitty compression

#

saves 1gb of space and makes your life a living hell :teef:

random saddle
#

ok now what

#

storage got me like

royal vapor
#

uhhh

#

i was expecting you to have this option ticked

random saddle
#

uh oh

royal vapor
#

it must be a superdirectory of your home folder

#

right click the users folder and go into properties

random saddle
#

btw fyi ive been breached before and all my emails and shit was stolen and it was a very uncool process

#

thats why i think security is fucked

royal vapor
#

this isnt a security issue

random saddle
#

well i mean before

#

with the .gitconfig

royal vapor
#

compress will be in here

royal vapor
random saddle
#

oh

#

okay lemme get to users

#

💀

royal vapor
#

hmmmmmmmmmmmmm

#

try your user folder

#

C:/Users/james

random saddle
#

that is the user folder

#

oh that

#

yeah look its only on that one

#

THERES THE MOLE

#

now the question

#

will my pc explode

#

because as u saw

#

my storage is quite miniscule

#

@royal vapor

royal vapor
#

no it wont

#

windows compression is a piece of shit like i said

#

it saves <1gb and causes pain

random saddle
#

okayy

royal vapor
#

disable that, wait for windows to apply to all the subdirectories and files

#

yeah hit ok

random saddle
royal vapor
#

fuckin hell

random saddle
#

close file explorer?

royal vapor
#

yeah if you have it open

#

it might also be in use by some random background process

random saddle
#

WHAT THE FUCK

royal vapor
#

gotta love windows

random saddle
#

i hate everything right now

royal vapor
#

my troubleshooting step rn would be to boot into safe mode and try it there

#

🥲

random saddle
#

like wtf is all this shit i just want to start a server with my friends with plugins

#

im like this close to just doing vanilla

royal vapor
#

what are you trying to do in the first place

random saddle
#

well

#

start a server for friends with plugins

#

turns out i have a doodoo ass pc

royal vapor
#

are you trying to compile the server or are you trying to build a plugin against the server jar

random saddle
#

compile

royal vapor
#

¯_(ツ)_/¯

random saddle
#

i subrouted this before actually

royal vapor
#

gotta deal with this before really

#

oh well

random saddle
#

i just used spigotclip

royal vapor
#

i mean if you dont wanna put up with compiling just use paper

#

spigotclip is... something lets say

#

(unsupported piece of trash)

random saddle
#

oh

#

ok

#

well it actually worked for a second until it shit itself when i put a datapack in

#

😢

royal vapor
#

anyway good luck

random saddle
#

im prob going vanilla