#import StringUtils

65 messages · Page 1 of 1 (latest)

tropic storm
#

How to import StringUtils? 😦

dusty marlinBOT
#

⌛ This post has been reserved for your question.

Hey @tropic storm! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

merry barn
#

you dont

#

stringutils doesn't exist in the standard library

#

where did you get that name from

merry barn
#

you need to add that library first before using it

tropic storm
#

thumbsupcat How

merry barn
#

what build system are you using

tropic storm
#

None

merry barn
#

better question, how does your project structure look

#

what file is where

tropic storm
#

It's just a new project in eclipse + a package in SRC + a class in that package

merry barn
#

so just a plain eclipse project

tropic storm
#

Yes

merry barn
#

commons-codec is not what you want

#

you want commons-lang

tropic storm
#

btw If you think it'd be easier in VC, I can VC

tropic storm
merry barn
tropic storm
#

It's grayed out

merry barn
#

click on classpath first

#

i don't remember how exactly it works

tropic storm
#

Which one should I download?

#

Most top one?

merry barn
#

the first one

#

yes

#

wait no the second one for your system

#

the .zip

tropic storm
#

When I unzip it

#

it's a folder

#

not a JRE

merry barn
#

yes

tropic storm
merry barn
#

its supposed to be a folder

#

you dont want to download a jre, you want to download a library

tropic storm
merry barn
#

let me try it myself

#

i havent used eclipse in ages

tropic storm
merry barn
#

especially not the newer versions

tropic storm
#

Oki

#

If you want I can help you install it

merry barn
#

i already installed it

tropic storm
#

pepesusthink I could install that build system thingy

merry barn
#

alright i found it out

#

it's a bit more work than initially thought but this would be the right way to do it

tropic storm
merry barn
#

nevermind

#

give me one second

tropic storm
#

thumbsupcat Oki no need to hurry!

merry barn
#

you might need to delete your module-info.java, because that fucks everything up always

tropic storm
#

That video fast as heck

#

But I did it

#

@merry barn

#

Error occurred during initialization of boot layer
java.lang.module.FindException: Module myProject not found