October 5, 201015 yr A while ago I installed a java compiler and it works alright, but the first time I open command prompt to run it, it takes AGES to compile, when it shouldn't. After the first time, it compiles almost immediately, like it should. Any ideas how to fix this? EDIT: Hmm I just realised this may be related. When I first load Runescape, the same type of thing happens. The browser will freeze for a while before Runescape loads. If I open RS again in the same browser (without closing it) it'll load immediately like it should. I think anything that uses Java to run does this.
October 5, 201015 yr Post your specs. What version of java (jvm and jdk) are you running? "It's not a rest for me, it's a rest for the weights." - Dom Mazzetti
October 5, 201015 yr Author Version 6 Update 21 of JavaAnd JDK 1.6.0.21 or so? Not sure about the version of the JVM... if I didn't already get it. :S
October 5, 201015 yr JVM is the java vm - so just your java version is fine. Post your computer specs as well please. "It's not a rest for me, it's a rest for the weights." - Dom Mazzetti
October 5, 201015 yr Isn't it supposed to take longer the first time, as it has to compile the whole thing?
October 5, 201015 yr Yes. Depends how long he's talking about though - it may not be normal. "It's not a rest for me, it's a rest for the weights." - Dom Mazzetti
October 6, 201015 yr Author It's definitely not normal. I'm only writing small programs at this point. I'm not sure where I can get a good list of my specs, but I'll try my best here. :P It's only the FIRST time after I open command prompt that it takes too long to compile. I can compile a completely new .java file after that one, and it will compile in a completely reasonable time. Processor: Intel® Core2 Duo CPU, T6400 @ 2.00 GHz 2.00 GHz(RAM): 4.00 GB (3.87 Gb usable)System type: 64-bit Operating System
October 6, 201015 yr Weird. Not much I can suggest other than reinstalling java. Also, use netbeans. http://www.netbeans.org "It's not a rest for me, it's a rest for the weights." - Dom Mazzetti
October 6, 201015 yr Author Actually, I've just started using Eclipse. :P It compiles and runs at normal speed every time with Eclipse so far.. Dunno what's going on. :P
Create an account or sign in to comment