Java KapiLandTool

Here is enough space for all players to ask questions about the game.

Moderator: moderators

Post Reply
Guest

Java KapiLandTool

Post by Guest »

Hi all

I've build a Java app called KapiLand Tool. It is a very Beta version (actually alpha version)

It calculates profit margins, it also sorts (bit shaky).

The jar file is available at: http://www.ParanoidAndroid.co.za/files/ ... 20Tool.jar

To run it, type:
java -jar "Kapiland Tool.jar"

It is a start....
Guest

Post by Guest »

Is this clean ?
Could some1 check for virusses/trojans/worms etc plz ?
Guest

Post by Guest »

i always like it when people share there tools and stuff.

i downloaded it and wanted to run it and then i get this
Couldn't find main class. Program exits
(or someting like that.


grtz
Guest

Post by Guest »

I'll look into it.
I'll also virus check it....
Guest

Post by Guest »

I ran it form my command line and it worked.
try and put quotes around KapiLand Tool.jar - e.g. java -jar "KapiLand Tool.jar"
or
put a \ after the Kapiland - e.g. java -jar KapiLand\ Tool.jar
or
rename the file by removing the space between KapiLand and Tool.

The next version, the jar filename will be one word

:oops:
Guest

Post by Guest »

i tested and received the following :

C:\Kapiland>java -jar "kapiland tool.jar"
Exception in thread "main" java.lang.NoClassDefFoundError: org/jdesktop/applicat
ion/SingleFrameApplication
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

C:\Kapiland>
Guest

Post by Guest »

I'll make a new version, maybe over the weekend that doesn't use the Netbeans classes (or needs Java 6)
Guest

Post by Guest »

Try this one:
http://www.ParanoidAndroid.co.za/files/JKLT-0.0.1.jar

To run:
java -jar JKLT-0.0.1.jar
(If it gives problems, then rename file to JKLT.jar)

It is going to spit out a lot of info in the "dos box" - it is an alpha version
Guest

Post by Guest »

TungstenX wrote:Try this one:
http://www.ParanoidAndroid.co.za/files/JKLT-0.0.1.jar

To run:
java -jar JKLT-0.0.1.jar
(If it gives problems, then rename file to JKLT.jar)

It is going to spit out a lot of info in the "dos box" - it is an alpha version
hi it works, I'll give it a try!
Guest

Post by Guest »

just another problem, maybe for a language translation? i use windows in spanish

C:\Kapiland>java -jar jklt.jar
Exception in thread "main" java.lang.NoClassDefFoundError: javax/swing/GroupLayo
ut$Group
at coza.pas.jklt.Main.<clinit>(Main.java:17)

C:\Kapiland>
Guest

Post by Guest »

Ok the next version is here. Some notes:
1. Production cost are based on Q0 in green zone (Realm 2) but you can changes the production cost and times according to your game's info / set up and save it.
2. Speaking of saving; the app will create two files when you save the data:
- kapiland.country.data
- kapiland.products.data
3. This app is not (yet?) geared for multi-accounts (assuming in different realms) - a work around is to have a copy of the app in separate folders for each account - just remember to follow the rules of the game.
4. This is supposed to be an management decision tool but it is still a tool.
5. This tool is still in beta phase - meaning - there might be bugs and incorrect calcs - so double check the answers.
6. I've geared the app to be internationalize-able - so if there is a requirement for a language, please discuss it here. (Even English as it is my second language :D )

So here is the download link:
http://www.ParanoidAndroid.co.za/files/JKLT-0.0.2.jar
(+- 160KB)
Enjoy!!!!

As for cygnus problem:
What version of Java are you running? (Java -version)
(The default languages for the app is English - so even if your system is set-up for Spanish it will show English - sorry French & German speakers :D )
Post Reply