peroim
Oct 30 2006, 04:36 PM
| | Ok, I "know" Java, but what now? What do you do with the .java files? (I'm interested in both java-applets and java-programs.)
Thanks, Peroim. |
Reply
fffanatics
Oct 30 2006, 07:27 PM
You would compile the .java files into .class files. There you can either run them using the java nameofprogram command or include them into a website if the class file extend JApplet. There isnt much else to do with the code besides run it.
Reply
hype
Nov 2 2006, 02:57 AM
You can actually throw away the .java files after you compile it and the .class files is your final work... However, if you ever need to edit your work again its better you keep that .java files so that next time you could work on it from there instead of starting all over... Java is portable so you just have to have the .class file in order to work on almost all operating system or website that have the java virtual machine or something...
Reply
derickkoo
Nov 3 2006, 07:53 AM
QUOTE(peroim @ Oct 31 2006, 12:36 AM)  Ok, I "know" Java, but what now? What do you do with the .java files? (I'm interested in both java-applets and java-programs.)
Thanks, Peroim.
hey, .java is just the java program source file, if you wanna make it run you need to compile them to .class file by javac.exe that is included the the JDK (Java Develop Kit), current i use the 5.0 version of jdk, after install JDK on your computer and setup the neccessary environment correctly, ok open command line and change directory to the <JDK_HOME>/bin, and use the follow command. > javac pkgname.classname.java without error ,ok you gotta the class code of java now, it's not easy to compile during abrove way especially you wanna compile a java project, so you can use Eclipse or NetBean both are wonderfull open-source java IDE, i prefer to use Eclipse and have working on java with eclipse for most a year, when you edit java source code in eclipse when you save the code, ok the file has already compiled to the class file now, cool, right.? i think so. happy java
Reply
2091
Jan 4 2007, 08:22 AM
QUOTE(peroim @ Oct 30 2006, 05:36 PM)  Ok, I "know" Java, but what now? What do you do with the .java files? (I'm interested in both java-applets and java-programs.)
Thanks, Peroim.
hi there! i'll use the java programming language since years, and i found something, witch everyone will love... never need to compile your java sourcecode via console, have a "code-expender" (press crtl + space, popup apears, choose method etc.) well, this program is called "eclipse" and you can get it from www.ecplipse.org direct me to the DL siteif you don't use this app you need to compile the sourcefile by yourself, witch means you have to switch in a command - box, goto rootdir/programme/sun/java/bin (the bin directory of your java installation) and enter "javac sourcecodename" where the sourcecode name is without the extension (.java). this will compile your .java into a bytecode (.class file). next, you have to type "java sourcefile" in the same directory... with eclipse you may have up to 1000 workspaces, and it will be easy to compile your code... (simple press crtl + x, j and there it goes  ) sorry, but my english isn't verry well cuz i'm a german user (not *BLEEP*ing germany, from austria ^^) have a nice day
Reply
Marrow
Jan 5 2007, 09:01 PM
Hi All, I started to deal with Java and jsp about a month ago. As I still consider myself as a rookie, I have read lots of tutorials, howtos about jsp, java and applets. In every JDK installation there is written to set the PATH variable (or JAVA_HOME and CLASSPATH variable, in case of linux). If you do that, then there is no need to go to the Java/bin folder for compiling (or for any other program launching). I hope this helps someone. Regards, Marrow
Reply
peroim
Jan 7 2007, 09:35 AM
hi everybody, thanks for the replies. i've got NetBeans installed and now i know how to compile java files, i can start learning java Peroim
Reply
1stJedi
Mar 26 2007, 11:08 PM
hi friend NetBeans is good but the best thing is e-clips. Known as Easy Clips. This is just wonderful. So plz try this.
Reply
hitmanblood
Apr 15 2007, 07:53 AM
Well with JAVA you can do almost everything, and really everything. However if you want to program applet's as you pointed out in the first post. You have to know inheritance as you extend applet class and you have to know bits and bytes of html. Applets are really cool when you get used to it. It is a bit different from programming in java as now it is not linear not at all. You could place several objects and they would be posted and you have to have a bit sense for graphics. Also the best way to run applets is not your browser but rather appletviewer which can be used in your cmd that is command prompt in windows.
Reply
Similar Topics
Keywords : java, files
- How To Create Pdf Files Using Free Tool
Introduction to use a free tool to create PDF file (0)
Clearing Your Ie Tif
Clear your Temporary Internet Files on IE (0) -Welcome to: Clearing your Internet Explorer Temporary Internet Files Tutorial-!
Attention!: As some of the members on here may know, it is possible to clear your Internet
Explorer Temporary Files. I have searched this entire Tutorials subforum to find a topic already
made, and I have found nothing. This tutorial I did NOT find this on Google, or any other search
engine. I always find this out for myself. Lets start: Ok, first we open up Internet Explorer,
then we click "Tools"...then we click on "Internet Options...". On the Main page "Gener....
How To Download Any Flv Files From Any Sites
(6) Now you can download any flv files from any websites!! People often know how to download
youtubes clip, but not from other sites. In this tutorial you will need a tool name Moyea FLV
Downloader, it is free and you can download it at http://www.flvsoft.com/download_flv/ This is
the best tool i have meet up with to download flv files in any site. Since it can detect flv files,
and list it, you can download it as you want, so no more favourite clips goes away from your sight
and now you have it on your own hard drive! 1. Run moyea flv downloader see 1.jpg 2.....
Panasonic Lumix - Problems With Movie Files
troubles managing (renaming, moving, deleting) movie files from the ca (0) I've recently bought a Panasonic Lumix TZ3, the one with a wideangle to telephoto lens (10x zoom
from 28mm to 280mm equivalent) and I am very satisfied with the overall performance. Obviously I
didn't buy the camera because of the movie features but occasionally I do take some short clip
or use the "picture with audio" to comment on a photo, these functions are pretty easy to use and
the quality of the video is reasonable. The movie files (or the audio attached to a picture) get
saved in Jpeg Motion Picture format, generating a .MOV file which appears on the me....
Java Obfuscator
(1) Well Basically I have a Java Obfuscator yet I do not know how to use it, I have about 300 files to
Obfuscate in a .jar so basically i need some help with Obfuscating the .jar Any help at all will be
helpful, by the way a Obfuscator is a program that "Encryptes" .jar files so that it is hard to Take
Source Code and reuse it.....
Java De/compiler
(5) Hey I'm currently using Netbeans as my Compiler and jd-gui as my decompiler I want to know if
there is anything more effective when i use jd-gui is messes up the source code and deletes the
@overrides and comment outs....
Java And Xml: Links You Must Have
(1) XML and JavaGeneral XML resources * "XML, Java and the Future of the Web," Jon Bosak. The
paper that started it all, at least from a Java programmer's point of view. Definitely worth a
read, even if it's a bit dated. Jon is commonly considered to be the father of XML. Funny how
all of these technologies seem to have paternity
http://metalab.unc.edu/pub/sun-info/standa...hy/xmlapps.html * "Media-Independent
PublishingFour Myths about XML" Jon Bosak
http://metalab.unc.edu/pub/sun-info/standa.../why/4myths.htm * Robin Cover's XML-....
Java Multithreading Issues
(2) So we have a web based application running on JBoss on several clustered servers. The front end of
the application is using jms to communicate with the middleware MDB, which communicates with other
backend application servers. The application runs well when only a few requests are submited.
However, when requests boost to couple thousands, the app starts to crash. The log files shows a
concurrency issue with the ThreadPoolExecutor. When we set the core size pool to one the issue was
solved. Looks like we have concurrent issue of multiple threads accessing same resource s....
Firefox Temporary Media Files
Where are they stored? (0) Sometimes when I view video tutorials online and I want get pleased with the flash or mp4 I will be
viewing online. When I try to seach for the temporary file stored by Firefox so that I can save it
in another drive I fail to find it. Does anyone know where these files are stored and which format
they will be in? One day I opened the folder: CODE C:\Documents and
Settings\Rare\Local Settings\Application
Data\Mozilla\Firefox\Profiles6qbhaqp.default\Cache and found a lot of files
without extentions. Could these be the ....
Lan Surfer In Linux
GUI software to view other's shared files (2) I have been using LAN surfer and Network scanner in Windows , These software's are used
to scan the LAN over a given range of IP addresses and then display the folders shared by each
computer available on LAN in the specified range... now i have switched to Linux... Can you tell me
any GUI software which would do this task in Linux ubuntu 7.04. I tried nmap but i did not
find it that useful...i think it does only port scanning and stuff but does not display the files
shared... but i am not sure..tell me if it can be used and how... I also installed s....
Browse System Files In The Browser...
(2) Hi all Trap 17 people... I am not sure if you are already aware of this fine piece of information,
But definitely a must know feature... Browsing your system files in your browser. For more visit the
below link http://varalu.blogspot.com/2008/07/browsin...in-firefox.html You can use this feature
to do so many stuffs... pretty much useful for addon developers. /smile.gif"
style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
How To Implement Single Instance Application On Java
(0) See the next few lines containing Java Code: CODE 1. // imports 2. import
sun.management.ConnectorAddressLink; 3. import sun.jvmstat.monitor.HostIdentifier; 4.
import sun.jvmstat.monitor.Monitor; 5. import sun.jvmstat.monitor.MonitoredHost; 6. import
sun.jvmstat.monitor.MonitoredVm; 7. import sun.jvmstat.monitor.MonitoredVmUtil; 8. import
sun.jvmstat.monitor.MonitorException; 9. import sun.jvmstat.monitor.VmIdentifier; 10.
11. public static void main(String args[]) { 12. /* The method Managem....
Auto-upload Files With Filezilla And Autohotkey
(0) If your web host only allows FTP access and not shell access then you have to edit files locally and
then upload them. If you are debugging your website that means making a lot of changes to a file or
files and lots of manual uploads after each change to a file. FileZilla works great to upload and
download files to a remote FTP site and it even allows you to set a default editor so you can right
click on a remote file and click view/edit. It then downloads the file to a temporary directory and
monitors any changes made to the file. When it detects that you have saved the....
Call Pdf995 From Java
(0) How can i call pdf995 engine from Java to generate Pdf from Doc. This approach from Visual Basic
Application is provided in http://www.pdf995.com/faq_dev.html . How can i approach same from Java?
Can anyone help? ....
How Can You Get Audio Files From Itunes Videos?
(1) I need some help. How can you get audio files from iTunes videos? iTunes videos don't import
into Windows Movie Maker so I don't know how. Is there a way to convert iTunes video files to
kinds that are supported by Windows Movie Maker? Thanks in advance for help. /smile.gif"
style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
Naming Web Page Files
Which way you like- MyPage.html or my-page.html or my_page.html (9) Everybody talks about meta tags, keywords, good title names and how they can increase page rankings,
etc. But I was wondering whether the page name itself holds any value in indexing. Yes, I am
talking about the web page file names (some-thing.html) NOT the one which you put in title tags. I
am going to express my views and want to know what you think is correct. I have seen pages named in
various ways like these: 1) my_web_page.html 2) DoYouLikeMyPage.html 3) hey-see-my-webpage.html (I
think this way is more appropriate) 4) this.is.a.page.html (somewhat confusing) ....
Audio Files?
(5) I need some help. Is it possible to get audio files off of sites? Like IMEEM and YouTube. I know the
whole http://www.file2hd.com thing. It doesn't always work though. Are there other ways? Is
there a way people hack audio files off of sites? NOTE: I DO NOT WANT DO THIS! I merely want to
know so that I can protect my sites from it. Thanks.....
Jar Executable Files
(3) I have been supplied with a digital log book for use this semester and it comes in the form of a
.jar file and a .mdb file. I tried running it on my mac but it crashes every time but it seems to
run perfectly on windows xp. Does anyone have any ideas why? I thought .jar files would be
computable on any platform. ....
I Need Help With Setting Up My Site, Made Using Java
any help would be appreciated (5) I just got web hosting approved and I want to host the site I created using Struts framework.
I'm a complete newb when it comes to web hosting, so I need a little help. Is there a tutorial
that covers this subject? I apologize in advance if this question was already answered, but
I've been unable to find the answer anywhere. One thing I have to note is that I need to know
absolute address of the uploaded files in order for my application to work. Is this even allowed?
Any help with hosting of Java applications will be appreciated.....
1350 Great Free Logos (jpg + Psd)
With both jpg and original psd files to edit (8) 1350 Great Free Logos (With both jpg and psd files)
http://rapidshare.com/files/126291346/1346...Great.Logos.zip This is a great collection of
logos, they are already made logos which you can use like that or just use to create other logos, do
what you want, they are free, they came from free websites that give this logos for free and lot
more, but i just took the good ones mainly. There is also a small collection of 100 logos inside
the compressed file, which you can use to insert those graphics in your logo/design/web design
projects, do what you want with them ....
Learn Java Programming Language Online Step By Step
(1) I had found this site >> http://learnjava.awardspace.com This website is for people who want
to learn Java Programming Language step by step. This website also includes JAVA lessons from the
beginning to advanced level. So this site appropriates for the beginner of Java programmer language
or non-basic Java Programming Language. The lessons are easy to follow and understand starting
from how to get your PC JAVA ready, the fundamental programming concept and creating the real
application. Moreover, the working examples are also included. Please enjoy the les....
Java Or C++
(9) Many having tell me to make my MMORPG in java leads me to agree, But I'm not sure truly is it
not yet easier, but yet the outcome of programming an MMORPG in java will make it fail or succeed
more then one in C+= I've learned a lot of variables in javascript, and I don't think that
java would be too bad either. My true question is, is those who use these languages, which seems
to give better outcome, and which seems to be more in ease. Regards -PCessna....
Budding Java Game Developers?
Ever wanted to make your own java web-based game, but not had the time (9) Right, this is the first post of hopefully many in this thread. Basically the idea is to get many
developers together to share ideas and knowledge to create our very own game. First we'll be
asking for is any ideas of what kind of game everybody would like to make, and then we'll set
about assigning tasks depending on everybodies skills. We will need programmers, artists,
web-designers, even admin and marketing. This will be freeware, but the experience will be great.
So, ideas anyone?....
How To Disable "show Hidden Files And Folders" In Folder Option
(12) How to disable "Show hidden files and folders" in Folder Option As you know, you can hide files
or folders in Microsoft Windows ( to hide a file or folder , right click on file or folder >select
properties and then select Hide file) But if you open Folder Option and check "Show hidden files
and folders " you can see hidden files. to disable "Show hidden files and folders" feature follow
below steps : 1- Click start > Run > type regedit to run Windows Registry Editor. 2- Go to following
address: QUOTE HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/Current Versio....
Eclipse Exporting .jar Files
Could not find main class. Program will exit. (5) I need help! I've been using eclipse for a while making little applets, and now I've
decided to look at some tutorials on how to make simple applications. I've found a pretty good
tutorial that tells you how to make a helloWorld app with swt and jFace, and also has an example
file explorer that you can make. They both work perfectly from inside eclipse, but when I try and
export either one into a .jar file, they don't work anymore. It comes up with a message saying
"Could not find main class. Program will exit." In the little wizard it has for....
Java For The Beginning Programmer Ebook
(4) Java for the Beginning Programmer teaches Java to someone with absolutely no programming background.
This book focuses on core programming topics such as variables, looping, subroutines, and program
layout. This course focuses on real programming techniques, and not using an Integrated Development
Environment (IDE) to generate code. This course ends with an introduction to graphical user
interface programming. http://www.heatonresearch.com/articles/series/15/ ....
The New And Very Good Free Host Server
For upload/share files.www.rapidshare.se (13) Here it is: http://www.rapidshare.se/index.php Go check it out! I've heard good
things about this free upload server.....
How To Create Java Button Or Frame
to be customized (14) hi to all!!!! just like to ask if it would be possible if i could make a custom
button or frame in java. i got tired of using the build infeatures in java. i would like to create
my own dessign of button or frame.. can it be possible!!! /biggrin.gif' border='0'
style='vertical-align:middle' alt='biggrin.gif' /> thank!!!! /laugh.gif'
border='0' style='vertical-align:middle' alt='laugh.gif' /> New Help In! is NOT a descriptive
topic title. Next time you decide not to follow the posting rules, you will be issued a w....
Java Mobile Applications
What you wanna have on your phone ? (7) I'm trying to do a Java mobile J2me application... But I don't know what to do... Any
suggestions....? Maybe you guys can say what you would like to have on your mobile phone... ....
convert .java to .c
(5) hey, do any of you programmers know how to do this with a program? i am not as proficient in c as i
am in java.....
Looking for java, files
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for java, files
*MORE FROM TRAP17.COM*
|
advertisement
|
|