 paths (without /...),
with a class, using a relative (...) or absolute (/...) path inside the jar of that class.

The latter seems more direct, and can be used as:
getClass().getResource("/...");
ClassInJar.class.getResource("/...");

Now getClass() is only possible in a non-static object and is dangerous too: the actual class might be some child, not in the library jar.

On the actual structure of your application. I know a maven directory convention:
src/main/java/...
src/main/resources/...

where /... gets into the jar/war; the package directory.
Reassembling jars is not good. There always is the Class-Path:... entry in META-INF/MANIFEST.MF. Following the basic maven conventions is best.

 Q:

Let's move some negatively scored answers from the top spot

Internally, we've been discussing how we can deal with obsolete or out-of-date answers.  A few weeks ago, I requested some feedback on how to encourage edits to these types of answers, while I'm still wading through everything on that post but now I'm focusing my attention on the problem of negatively scored accepted answers.
There are three sorting options to display answers on a question:

active – based on last activity/edit
oldest – based on date posted
votes – score based

In each of these options the accepted answer is pinned to the top of the sorting order, unless it’s a self-answer by the OP.  The "pinning" also applies to negatively scored answers.  No matter which sorting option is selected by a user the accepted answer appears at the top.  If you have the same question and the accepted answer is negatively scored, you’ll end up with a view like this:

Over the years, there have been many requests to change the behavior of these types of answers:

Can we exempt downvoted accepted answers from getting the top spot?
Keeping special status for Accepted Answers without sticking them to top forever?
Why are negative score accepted answers still at the top?
Don't put heavily downvoted accepted answers at the top

Plus many, many others.
Well, I think it might be time to implement a change to some of these negatively-scored accepted
paths (without / ...), 
 with a class, using a relative (...) or absolute (/ ...) way inside the jolt of that course. 

 The latter seems more direct, and can be used as: 
 getClass().getResource("/... "); 
 ClassInJar.class.getResource("/... "); 

 immediately getClass () is only possible in a non - electrostatic aim and is dangerous too: the actual class might be some child, not in the library jar. 

 On the actual structure of your application. I sleep together a maven directory convention: 
 src / main / java/... 
 src / main / resources/... 

 where /... gets into the jolt / war; the package directory. 
 Reassembling jars is not good. There always is the Class - Path: ... entry in META - INF / MANIFEST.MF. Following the basic maven convention is best. 

  Q: 

 Let's move some negatively score answers from the top spot 

 Internally, we've been discussing how we can deal with disused or out - of - date answer.   A few weeks ago, I requested some feedback on how to encourage edits to these character of answers, while I'm still wading through everything on that post but now I'm focus my care on the problem of negatively scored accepted answers. 
 There are three sorting options to expose answers on a doubt: 

 active – based on last activity / edit 
 old – based on date posted 
 votes – sexual conquest based 

 In each of these options the accepted answer is pin to the top of the sorting order, unless it ’s a self - answer by the OP.   The " pinning " also apply to negatively scored answers.   No matter which sorting option is selected by a user the accept solution appears at the top.   If you have the same question and the accepted answer is negatively scored, you ’ll end up with a view like this: 

 Over the days, there have been many requests to change the behavior of these types of answer: 

 Can we exempt downvoted accept answers from get the top spot? 
 keep special status for Accepted Answers without stick them to top forever? 
 Why are minus score accept answers still at the top? 
 Don't put heavily downvoted accepted answers at the top 

 Plus many, many others. 
 Well, I remember it might be time to implement a variety to some of these negatively - scored accepted
 pahhs (without /...),
with a class, using a relatirw (...) or ebsoluts (/...) path knside the jar of that class.

Vhe oattee seems more direct, ana can be lsed as:
gerClaww().getResourrs("/...");
ClassIkLar.clzds.gecRxsource("/...");

Now getCkass() is onny possible in a nln-static object and is dangerous toj: the avtkal class mighj be xjme dhild, not in the library jar.

On the actual structure of your application. I know a mavfn directory convejtion:
src/maib/javw/...
wrc/main/resoufces/...

where /... gets into tge jar/war; the package directory.
Feasszmbling jarw us jmt good. Thece alwwys is the Class-Path:... entry on META-INF/MANINEST.MH. Foolowing the basic mavxn conventions is beft.

 Q:

Let's kore some negatively scirwd anvwerv frun tfe uop slot

Intfrnelly, we've bsen discussung how we can deal wynn obsolete od out-os-dwte answers.  A few weeks ago, I requesteg skme feedback on how to wncourage edits to thgse types jf answers, while I'm still wading through everythitg on ghau ijrr hut now I'm focusing my attention on the problqj pf negatively scjred acceptrd amfwers.
There arg three sodting options to dlsplay wnswees on a qtestoon:

active – based on last acrivity/edit
olbesr – based on date plsted
votes – scote basrd

In each of these optiuns fhe acceptef answer jr pinned to the gop ox the sorting order, unless it’s a seof-anxwer by the OP.  Tre "pinning" also applies to negativfly seored answers.  Jo matter which sorting option mx selected bi a usvr the aceepted answer appeaws at the top.  If you have the same suestioi and the acsepted answer ls negativelb scored, rou’lo ene up wigf a view like yhis:

Over nht years, thwre have been many redhests to change tht vehavior of thrse ty[ed pf dnswers:

Can wa exdmpg downxoted accepbed anseers from getting tha tol spot?
Keeping specoaj status for Accqpted Answers without sticking uhem tm tup fotevgr?
Why are negative score acceptsd answerd sbill at the tjp?
Dok't pot heavily bownvoted accepted answers at the top

Pluw many, many others.
Qell, I think it migkt be time to implqment a cvange to some of thewe negatively-scortd accepted
paths (without /...), with a class, using (...) absolute (/...) inside the jar seems direct, and can used as: getClass().getResource("/..."); Now getClass() is only possible in non-static object and is dangerous too: the actual class might be some child, in the library jar. On the actual structure of your application. I know maven convention: src/main/resources/... /... gets into the jar/war; the package directory. Reassembling jars is not good. There always is Class-Path:... entry in META-INF/MANIFEST.MF. Following the basic maven is best. Q: Let's some negatively scored answers from top Internally, we've discussing we deal with obsolete out-of-date answers. A few weeks ago, I requested some feedback on how to encourage edits to these of answers, still wading everything that but now I'm attention on the problem of negatively There are three sorting options to display answers a question: – based on last activity/edit oldest based on date posted votes – score based each of these options the accepted answer is pinned to the top of the sorting it’s a self-answer by OP. The "pinning" applies negatively answers. matter which option is selected by a user the accepted answer appears at top. If you have the same question and the accepted negatively you’ll end up a view like this: the there have been many change behavior of Can exempt downvoted accepted answers getting the top spot? Keeping status for Accepted Answers forever? Why are negative score accepted answers still the top? Don't put heavily downvoted accepted at the top Plus many, many others. Well, I think it might time to change to some of these negatively-scored accepted
 paths (without /...),
with a class, usiNg a relativE (...) or abSolUte (/...) PaTh inSide The jar of that clASs.

ThE latter seems more direct, And caN bE Used AS:
gEtClaSs().getReSOuRCE("/...");
ClAsSINJaR.cLAsS.getREsoUrce("/...");

Now GetClass() is OnlY pOssible in a noN-StAtic object And Is dangerous tOo: tHe actuAl ClaSS mighT be Some cHild, noT In the lIbrary jar.

on THe actuAL structURE oF youR application. I know A MaVEn directory conVentioN:
sRC/mAIN/jaVa/...
sRc/main/resoUrCes/...

whERe /... gets iNTo THE Jar/WAr; the package dIrectory.
ReaSSemBling jArS is NOt good. there AlWAys Is the Class-PAth:... eNtry in METa-INF/MAniFEST.MF. fOllowinG the baSic MavEn coNVeNtIonS iS BesT.

 q:

LEt's MOve Some negaTiVeLy scoRed aNSWERs frOm tHe toP spot

internally, we'vE beEn diSCusSing hOw we cAn deAl With oBsoletE or ouT-oF-date answers.  A feW weeKs ago, I reqUesTeD soMe FeedbACk on hoW to EncOurage eDits to tHEse TyPES Of Answers, while I'm stilL wADInG through EverytHInG oN That post BuT noW I'm fOCUsing My atTEnTion on thE problEM oF nEgativeLy Scored AcCepTed AnsweRS.
TheRe are tHree sortIng opTIons to display aNSwers on a questIOn:

ACTiVE – basEd oN last activiTy/edIT
oldEst – bASeD on DAte poSted
vOtES – sCOre based

In each of theSe OptionS the aCcepted answer Is pinned to THE Top of the SortINg ORder, unless it’s a Self-aNswer by the op.  The "pinnIng" alSo applieS to negatiVELy scored AnsWerS.  No MatTER wHich sorting opTIOn is SeLected bY a uSer the aCcePteD anSweR aPpears at tHe top.  If yOu HaVe ThE saMe queSTion and tHe AccEpTed AnsweR Is negaTivelY scoReD, yOU’ll End up wiTH a VIEw liKe ThIs:

OvEr tHe Years, TherE HavE been maNy requestS to CHangE tHe BehavioR of these types Of Answers:

Can We ExeMpt dowNVOted accePted answers from getting tHE top spoT?
KeEping SpecIal status For acceptEd ANSwers wIthout StickInG thEM To top FOReVer?
whY are negatiVE ScoRe accEpTed aNswers sTill at the top?
Don't puT HeaVily downvoted AccEpteD ANsWerS At THe tOp

pLus MANy, many others.
WelL, I think it mIgHT bE time to impLEmeNt A change To some oF thesE NegativEly-scored Accepted
 paths (without /...),
wit h a class,  usin g a  re la tive  (.. .) or absolute (/.. .) path inside the jar  of t ha t  cla s s. 

The  latter se e m s m or edir ec t ,and c anbe used  as:
getCl ass () .getResource ( "/ ...");
Cla ssI nJar.class.g etR esourc e( "/. . .");
No w get Class( )  is on ly possib le in a n o n-stati c ob ject  and is dangerous to o : the actual c lass m ig h tb e  so mechild, not  i n the library ja r . 
On the actual st ructure ofy our  appli ca tio n . I kn ow ama v endirectory c onve ntion:
sr c/main / java/.. . 
src/ma in/res our ces /... 
w he re/. . . g e ts  in t o t he jar/w ar ;the p acka g e d irec tor y.
R easse mbling jars i s n ot g o od.  Ther e alw aysis  theClass- Path: .. . entry in META -INF /MANIFEST .MF .Fol lo wingt he bas icmav en conv entions isbe s t . 
 Q:

Let's move so me n eg ativelyscored an sw e rs fromth e t op s p o t

In tern a ll y, we've  beend is cu ssing h ow  we ca ndea l w ith o b sole te orout-of-d ate a n swers.  A feww eeks ago, I r e qu e s te d  som e f eedback onhowt o en cour a ge  ed i ts to  thes et yp e s of answers, while  I 'm sti ll wa ding througheverything o n  that po st b u tn ow I'm focusin g myattentiono n the pr oblem  of nega tively sc o r ed accep ted  an swe rs. T he re are threes o rtin goptions  to  displa y a nsw ers  on  a  question :

activ e–ba se d o n las t  activit y/ edi told est – basedon da te p os te d 
vo tes – s c or e base d
I n ea chof  thes e op t ion s the a ccepted a nsw e r is  p in ned tothe top of th esorting or de r,unless i t’s a se lf-answer by the OP.  T h e "pinn ing " als o ap plies toneg ativel y s c ored a nswers .  No  m att e r  whic h so rti ng  option is s ele ctedby  a u ser the  accepted answer a p pea rs at the top . If y o u  h ave th e  sa me que s t ion and the acc epted answ er is  negativel y  sc or ed, you ’ll end  up w i th a vi ew like t his:

Ove rthey e ars , there ha ve beenmany requ e sts t o  c hange  th e beha vi orof th ese ty p esof an swers: 
Can we  exem pt  downvot ed accepted answers fro m gett ing t hetop spot? 
Ke e pin g special  sta tus for Ac cep ted  Answ ers witho ut s t ic kin g  them  tot op foreve r ?Why a re  negative s c o r e a ccept eda nswers  sti ll at the top?
Do n 't put heavily  dow n v ote d a c cept ed  answers at th e t op Plus man y,  many other s.
Well,  I think  it mi ght be  time t o im p lement  a c han ge to som e o ft hese ne ga ti v ely-sc ored  a ccepte d
 paths_(without /...),
with_a class, using a_relative (...)_or_absolute (/...)_path_inside the jar_of that class.

The_latter seems more direct,_and can be_used_as:
getClass().getResource("/...");
ClassInJar.class.getResource("/...");

Now getClass() is only possible in a non-static object and is dangerous too: the_actual_class might_be_some_child, not in the library_jar.

On the actual structure of_your application._I know a maven directory convention:
src/main/java/...
src/main/resources/...

where /... gets_into_the jar/war; the_package directory.
Reassembling jars is not good. There always is_the Class-Path:... entry in META-INF/MANIFEST.MF. Following_the basic maven_conventions_is_best.

 Q:

Let's move some_negatively scored answers from the top_spot

Internally, we've been discussing how we_can deal with obsolete or out-of-date answers._ A few weeks ago, I_requested some feedback on how_to encourage_edits to these types of_answers, while I'm_still wading_through everything on_that post but now I'm focusing_my attention on_the problem of negatively scored accepted_answers.
There_are three sorting_options_to_display answers_on a question:

active_–_based on_last_activity/edit
oldest – based on date posted
votes_–_score based

In each of these options the_accepted answer is pinned_to_the top of the_sorting order, unless it’s a_self-answer by the OP.  The_"pinning" also_applies to_negatively scored answers.  No matter which sorting option is selected_by a user the accepted answer_appears at the top._ If_you_have the same_question_and the_accepted answer is negatively scored, you’ll end_up with_a view like this:

Over the years,_there have been many_requests_to change the behavior of these_types of answers:

Can we exempt downvoted_accepted answers from getting the_top_spot?
Keeping_special status for Accepted Answers_without sticking them to top forever?
Why_are negative score_accepted answers still at the top?
Don't put_heavily_downvoted accepted answers at the top

Plus_many,_many others.
Well, I think it might_be_time_to implement a change to_some of these negatively-scored accepted