blakdragon39 Posted October 5, 2010 Share Posted October 5, 2010 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. Link to comment Share on other sites More sharing options...
obfuscator Posted October 5, 2010 Share Posted October 5, 2010 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 Link to comment Share on other sites More sharing options...
blakdragon39 Posted October 5, 2010 Author Share Posted October 5, 2010 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 Link to comment Share on other sites More sharing options...
obfuscator Posted October 5, 2010 Share Posted October 5, 2010 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 Link to comment Share on other sites More sharing options...
Sbrideau Posted October 5, 2010 Share Posted October 5, 2010 Isn't it supposed to take longer the first time, as it has to compile the whole thing? Link to comment Share on other sites More sharing options...
obfuscator Posted October 5, 2010 Share Posted October 5, 2010 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 Link to comment Share on other sites More sharing options...
blakdragon39 Posted October 6, 2010 Author Share Posted October 6, 2010 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 Link to comment Share on other sites More sharing options...
obfuscator Posted October 6, 2010 Share Posted October 6, 2010 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 Link to comment Share on other sites More sharing options...
blakdragon39 Posted October 6, 2010 Author Share Posted October 6, 2010 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now