| Welcome to Scisforums. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Want to enhance your programming Skills.; This site might interest you. | |
|---|---|
| Tweet Topic Started: Jun 17 2010, 10:49 AM (1,004 Views) | |
| scisadmin | Jun 17 2010, 10:49 AM Post #1 |
![]()
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Try this site. This site gives you problems that must be solved using programming. You can ask questions about the encountered problems on this post. http://projecteuler.net/ happy programming! GOD Bless!
|
![]() "Failure doesn't mean you won't succeed, it means you haven't succeeded yet" | |
![]() |
|
| insolence | Jun 17 2010, 11:29 AM Post #2 |
![]()
Dual Core
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Great link... two thumbs up
|
|
I Played RF online and Became on of the TOP players Then I got banned permanently cause of the DDM SK bug I Played RF Olympic and Owned the Highlevels Then I got banned for Camping Once Yet the CW urge is still coming back to me | |
![]() |
|
| scisadmin | Jun 17 2010, 11:59 AM Post #3 |
![]()
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
thanks! ~remember, you can also share links or sites that might help! God Bless!
|
![]() "Failure doesn't mean you won't succeed, it means you haven't succeeded yet" | |
![]() |
|
| synthesizer | Jun 19 2010, 05:34 PM Post #4 |
|
Pentium 1
![]() ![]() ![]()
|
great link! you can also try this site http://rubyquiz.com/ |
![]() Bata, bata, paano ka ginawa? | |
![]() |
|
| scisadmin3 | Jun 19 2010, 07:33 PM Post #5 |
![]()
Administrator "Mr. 3"
![]() ![]() ![]() ![]() ![]()
|
For those who are interested in web development: http://www.w3schools.com |
![]() "Never settle for being good. Aim to be the best." | |
![]() |
|
| scisadmin | Jun 19 2010, 09:12 PM Post #6 |
![]()
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
ruby? marunong ka nun? hehehe. nacurius lang ako. nice!
|
![]() "Failure doesn't mean you won't succeed, it means you haven't succeeded yet" | |
![]() |
|
| insolence | Jun 20 2010, 09:39 AM Post #7 |
![]()
Dual Core
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
how do you compile a java desktop app so that I could distribute it with only a single jar file... what I've been doing is distributing the dist folder... XD anyone who can help? |
|
I Played RF online and Became on of the TOP players Then I got banned permanently cause of the DDM SK bug I Played RF Olympic and Owned the Highlevels Then I got banned for Camping Once Yet the CW urge is still coming back to me | |
![]() |
|
| scisadmin | Jun 20 2010, 10:32 AM Post #8 |
![]()
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
First you need to compile the java files. When the class files are created, open the command prompt, go to the directory where the class files are located then type this command (without the quotes) "jar cvf nameofjarfileyouwant.jar *.class" the first parameter is the jar - this is the internal java command for compiling files into jar files the second parameter is cvf the third parameter is the filename that you want for the jar file that will be created the fourth parameter is the class/classes that will be placed on the jar file - you can specify classses individualy and separate them using spaces if it says 'jar' is not recognized as an internal or external command, operable program or batch file. you must first set the environment variable. You can do this by following these instructions: (Windows XP) 1.) My computer -> Properties[Right Click] -> Advanced -> Environment Variables 2.) Find the variable name "Path" and click Edit 3.) Concatenate this to the value 'C:\Program Files\Java\jdk1.6.0_20\bin' 4.) (note that this is the location of the bin file on my computer, the directory may vary) 5.) Click "ok" until the system window is closed 6.) Open / Restart your Command Promt. Congratulations, the environment variable is now set. Happy Programming! God Bless! |
![]() "Failure doesn't mean you won't succeed, it means you haven't succeeded yet" | |
![]() |
|
| insolence | Jun 20 2010, 11:18 AM Post #9 |
![]()
Dual Core
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
it works!!! tnx alot sir admin... now another question... If I have a config.dat w/c is a binary file... can I include that in the archive? and if yes how can I access it within the internal structure of the program? parang bang iaaccess ung config.dat na nasa loob ng jar... possible ba un? hehe tagal ko na ung pinagtatakahan eh ^^ Edited by insolence, Jun 20 2010, 11:20 AM.
|
|
I Played RF online and Became on of the TOP players Then I got banned permanently cause of the DDM SK bug I Played RF Olympic and Owned the Highlevels Then I got banned for Camping Once Yet the CW urge is still coming back to me | |
![]() |
|
| scisadmin | Jun 20 2010, 12:42 PM Post #10 |
![]()
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I think its possible. idagdag mo lang xa kung icocompile mo na yung jar file. Example: jar cvf nameofjarfileyouwant.jar name1.class name2.class name3.class config.dat Tapos kung iaaccess mo ung config.dat I think, it's possible na itreat lang sila na parang nasa iisang folder, although hindi ko pa nattry. hehehe. I hope this helped! Happy programming! |
![]() "Failure doesn't mean you won't succeed, it means you haven't succeeded yet" | |
![]() |
|
| insolence | Jun 20 2010, 12:49 PM Post #11 |
![]()
Dual Core
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I have a theory na para iaccess is just to get the absolute path of the file... but I still have no knowledge if i can treat a java archive as a folder or pwd iaccess ung mga nasa loob nia with a certain path delimiter or something... hmmm... tnx for answering my first post though it helps alot |
|
I Played RF online and Became on of the TOP players Then I got banned permanently cause of the DDM SK bug I Played RF Olympic and Owned the Highlevels Then I got banned for Camping Once Yet the CW urge is still coming back to me | |
![]() |
|
| scisadmin | Jun 20 2010, 01:21 PM Post #12 |
![]()
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I found this on the net. InputStream is = null; is = Test.class.getResourceAsStream("/config.dat"); http://forums.sun.com/thread.jspa?threadID=5325093 I hope it help... BTW - I will move this to a new thread. |
![]() "Failure doesn't mean you won't succeed, it means you haven't succeeded yet" | |
![]() |
|
| insolence | Jun 20 2010, 10:53 PM Post #13 |
![]()
Dual Core
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Thanks po dito... another thing... dapat ko ba iinclude ung manifest na file pag ijajar ko? |
|
I Played RF online and Became on of the TOP players Then I got banned permanently cause of the DDM SK bug I Played RF Olympic and Owned the Highlevels Then I got banned for Camping Once Yet the CW urge is still coming back to me | |
![]() |
|
| scisadmin | Jun 20 2010, 11:04 PM Post #14 |
![]()
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
the manifest file is automatically generated so I think you don't need to include it.. hmmm??? are you customizing your manifest file? |
![]() "Failure doesn't mean you won't succeed, it means you haven't succeeded yet" | |
![]() |
|
| insolence | Jun 20 2010, 11:42 PM Post #15 |
![]()
Dual Core
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
nope actually when I run the jar file... it is looking for the manifest... just trying out with a simple java file running in a gui... Still haven't tried it with a NB java Desktop Application Project... I Don't know what to include in the archive... |
|
I Played RF online and Became on of the TOP players Then I got banned permanently cause of the DDM SK bug I Played RF Olympic and Owned the Highlevels Then I got banned for Camping Once Yet the CW urge is still coming back to me | |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Programming · Next Topic » |






![]](http://z3.ifrm.com/static/1/pip_r.png)








nice!
3:01 AM Jul 12