CCT: now hosted at garron.us; v0.9.3 out

Oh wait no it is already in the folder. I go to downloads cct-0.9.3 open that and on the top it says calcubetimerjar. I open that it stays for around 10 seconds then closes
 
ok... I've said this in 100 places before. CCT will not work for mac updated to the latest java version. For some reason, in apple's latest java update they added/removed something that makes CCT not work anymore. There have been a couple of threads on this already. There is nothing we can really do, except hope apple fixes something. I contacted/talked to Jeremy about this, and he hasn't had time to work on it. In one of the other threads, mads mohr compiled a version that works with the basic functionality thats needed. That's what I've been using lately.
 
ok... I've said this in 100 places before. CCT will not work for mac updated to the latest java version. For some reason, in apple's latest java update they added/removed something that makes CCT not work anymore. There have been a couple of threads on this already. There is nothing we can really do, except hope apple fixes something. I contacted/talked to Jeremy about this, and he hasn't had time to work on it. In one of the other threads, mads mohr compiled a version that works with the basic functionality thats needed. That's what I've been using lately.

No wonder I haven't been able to use CCT.
 
Sorry for reviving this thread but:

I looked around and couldn't find anything about it, but does CCT work on Windows 7? My new laptop has Java 6 installed yet CCT won't get past the loading screen.
 
Why does this happen for me? And this happens with versions 0.93-0.95 since those are all the versions I have access to.
cct.png
This is on Windows 7 64-bit. I have both Java for 32-bit and 64-bit installed.
 
If that was the problem it would have been solved when I downloaded it.

Note that I tried opening other Java stuff and it had problems as well. But things like hi-games.net and online timers do work, just standalone programs. It is a problem with Java. I'll try reinstalling it again.
 
Last edited:
Maybe something to do with the Windows file association for JAR files.

Try a cmd prompt in the CCT directory and run "java -cp CALCubeTimer.jar net.gnehzr.cct.main.CALCubeTimer". If that doesn't work I'd find out which java.exe Windows is trying to launch: "java -version" might give you a clue - I'm not running Windows so forgive me if I'm off the mark.
 
Err, can you roughly explain what that means in a more layman term? How do I get a cmd prompt in the CCT directory? And I kinda doubt the "net.gnehzr.cct.main.CALCubeTimer" at the back.
 
Last edited:
Err, can you roughly explain what that means in a more layman term? How do I get a cmd prompt in the CCT directory? And I kinda doubt the "net.gnehzr.cct.main.CALCubeTimer" at the back.

Sorry, I assumed you'd know how to open a command prompt in a particular directory (or "folder" as Windows would have it) -- OK, so Start->Run->"cmd.exe" should give you a command prompt. Maybe read the Windows help to get to grips with this whole area! You'll want to use "CD" or "CHDIR" to change directory to to location of your CCT jar file - again, read up on how to do this. Then use the java command I provided - it looks perfectly fine to me :D
 
Woo...thanks Michael. I just keyed in "java -jar calcubetimer.jar" and its working fine now.

Question though, does this mean I'll have to open it from cmd prompt every time?

The reason I doubt it is because its not hosted at that site anymore. But then again, I have almost nil knowledge on programming and stuff.
 
Last edited:
Woo...thanks Michael. I just keyed in "java -jar calcubetimer.jar" and its working fine now.

Question though, does this mean I'll have to open it from cmd prompt every time?

The reason I doubt it is because its not hosted at that site anymore. But then again, I have almost nil knowledge on programming and stuff.

Your windows file association for JAR files is not correct. You can check and/or change this with the registry, with Windows Explorer, or by opening a command prompt and using the ASSOC and FTYPE commands...

Code:
C:\>help assoc
Displays or modifies file extension associations

ASSOC [.ext[=[fileType]]]

  .ext      Specifies the file extension to associate the file type with
  fileType  Specifies the file type to associate with the file extension

Type ASSOC without parameters to display the current file associations.
If ASSOC is invoked with just a file extension, it displays the current
file association for that file extension.  Specify nothing for the file
type and the command will delete the association for the file extension.

C:\>assoc .jar
.jar=jarfile

C:\>help ftype
Displays or modifies file types used in file extension associations

FTYPE [fileType[=[openCommandString]]]

  fileType  Specifies the file type to examine or change
  openCommandString Specifies the open command to use when launching files 
  of this type.

C:\>ftype jarfile
jarfile="C:\Program Files\Java\jre6\bin\javaw.exe" -jar "%1" %*

This is on a Windows XP machine with Java 6 installed correctly. It means that a ".jar" file will be opened with "javaw -jar thejarfile.jar" which is the correct way to open an executable JAR file. Your results may be different, in which case they may need changing!

The "net.gnehzr.cct.main.CALCubeTimer" is not some address on the internet but rather a fully-qualified Java class name. If you were to open the CCT JAR file with 7Zip or similar you would see that it contains a hierarchical structure of classes. The main class in the CCT JAR is "net.gnehzr.cct.main.CALCubeTimer". Java gets this information from the MANIFEST file in the META-INF directory in the JAR.
 
Back
Top