Search:
Type: Posts; User: postmortem
Search:
Search took 0.07 seconds.
-
July 21st, 2010, 01:03 AM
Java compiler is simply saying code file has ended and that it expects to see more characters.
All opened brackets need to be closed, I think you are missing three.
-
March 12th, 2010, 02:43 AM
Try netbeans, although it is resource hog as well.
-
March 12th, 2010, 02:42 AM
[CODE] tag, please
numWords is not defined
-
March 12th, 2010, 02:36 AM
spam, posting same garbage two times does not make it any better.
-
January 24th, 2010, 07:50 PM
splash comes with java 6
it is as simple as
java -splash:filename.gif -jar SplashTest yourbuild.jar
-
January 14th, 2010, 08:06 PM
now if you could just solve it :D
-
December 31st, 2009, 09:31 AM
I doubt your method will work for large files, that cannot fit the memory.
Doing MD5 hash sounds much more reasonable. Even if there's no pre-existing Java solution, you can find pseudo code.
-
December 30th, 2009, 10:52 AM
C does not have any OO constructs such as class, public, private, protected, virtual, etc.
As for conversion, who is good with Java and C it will be trivial. That doesn't look to be case here....
-
December 18th, 2009, 12:11 AM
I also fail to see why is superb knowledge of C++ needed for a Java job, unless candidate is working on next JVM for Sun..
EDIT:
Here's more info about website...
-
December 12th, 2009, 08:16 PM
I didn't say yo guys are excluded for ever handing a job. But there is a whole batch people coming out with com Sci degree every year, and big companies will look to hire them. It is getting harder...
-
December 11th, 2009, 01:49 AM
Only promising way to get in programmer field nowadays is to attend 4 yrs college. It won't happen overnight, forget about focused courses - they make money to ones who teach them.
With so many...
-
November 1st, 2009, 11:03 PM
there is system and user path... additionally, if both entries are on the path, then whichever is the first one will matter.
-
October 25th, 2009, 01:17 PM
threads make sense only if you have long task that is cpu or other resource intensive, doesn't matter of the size of code. usually it makes sense to put UI in one thread and long actions in others.
...
-
October 23rd, 2009, 06:37 PM
have you tried to run the jar from its working directory; this is using the windows command prompt and java -jar command?
-
October 14th, 2009, 12:38 AM
you need to specify larger heap
http://blogs.sun.com/watt/resource/jvm-options-list.html
-
October 7th, 2009, 07:03 PM
wow, talk about ugly solutions, "Recompiling the SDK", do you want all your users to do so too??
Often, answer is very simple:
...
-
October 4th, 2009, 10:23 PM
Please don't treat Java as C. It is not low-level procedural language, it is exact opposite of that. You can't see connection to CPU or RAM from Java as you would with C.
-
September 30th, 2009, 11:34 PM
java -jar your_file test.txt >> output.txt
sorry, there is no space between '-' and 'jar'. make sure you follow rest of whitespaces. printStatement has to be JAR file.
-
September 29th, 2009, 11:55 PM
yeah, it is same thing
if you have JAR build you can use
java -jar your_file test.txt >> output.txt
or if you have compiled class files
java classfile.class test.txt >> output.txt
Java also...
-
September 1st, 2009, 12:03 AM
http://lmgtfy.com/?q=+java+random+class
-
August 11th, 2009, 12:59 AM
using JNI is easiest way, and perhaps only one. Java is not meant to replace OS calls, it simply has interface to them.
you could make executable but it is just going to be wrapper for java -jar...
-
August 1st, 2009, 02:06 AM
wow, is is that hard to make package 'components', compile the project with single file and run it via its main method
it works
http://img15.imageshack.us/img15/2164/textdemo.jpg
-
July 31st, 2009, 12:22 AM
putting in hash map puts reference to original object, not deep copy of it, so any changes to object itself will propagate to objects retrieved from hash map
-
July 28th, 2009, 11:41 PM
final means "absolutely no child classes"
abstract means " I must have child classes to implement what I have defined"
-
July 23rd, 2009, 09:01 PM
run your app insider netbeans via profiler, it is integrated with netbeans, it will tell you actual mem usage
you can see it from task manager too
|
Click Here to Expand Forum to Full Width
|