Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Santis Self Tester

 
Marc Torpe
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
i tried to use Free Self Tester (link found here) but it doesn't work properly.

Here are screens




I run this with "java -jar santis.jar" command.

I throwed an exception:



How to make this work?

Thanks in advance
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It appears the tester has a program error. May be the guys who programmed this should take the SCJP

Are you sure you are invoking the program correctly ?
 
Marc Torpe
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Running with "java -jar santis.jar" command or double-click gives the same result.

Is there any other way i should try to run this?
 
Marc Torpe
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hehe, i downloaded sources for this. Located main() method, added

and now it's working

Maybe it's true that they should take SCJP Or at least read some tutorial about i18n
 
Matt Russell
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like it's an issue with the localisation (language translation).

Try running it explicitly telling it the language and region, e.g.:

java -Duser.language=en -Duser.region=US -jar santis_JCP.jar

[Ah, I see you've already fixed it, sorted!]
[ July 12, 2008: Message edited by: Matt Russell ]
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15208
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear pinky red,

I am one of the moderators of the JavaRanch forums. Here on JavaRanch, we have a naming policy. We want the users of JavaRanch to use a real-sounding name as their display name.

Unfortunately, your name "pinky red" does not comply to the naming policy. Your display name should consist of a real-sounding first name, space, and a second name. Not only a first name, no obviously fake nickname, no initials only for the second name.

Please read the naming policy carefully and change your display name. You can change your name by editing your profile.

Please note that we are taking the naming policy seriously. If you do not change your display name, your account on JavaRanch might be locked.

Have fun on JavaRanch,
Jesper Young - Bartender
 
Philipp Gressly Freimann
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi There

I just fixed the mentioned problem. Hope it works.

Sorry for the inconvenience, I myself took the exam SJCP 1.2, there was nothing about i18n those times, where should I know from ? ;-)

Let me know, if it still fails.

Actually I added the following code to the main() method:

 
Ankit Garg
Sheriff
Posts: 9509
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Philipp please Dont Wake The Zombies. The thread is more than 1 year old, the original person who asked the question might not even read your reply...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic