Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 02-17-2004, 07:45 PM   #1 (permalink)
Apodysophilia
Regular Contributor
 
Apodysophilia's Avatar
 
Join Date: Apr 2003
Location: noWhere, PA
Posts: 104
Apodysophilia is on a distinguished road
Send a message via AIM to Apodysophilia
.class?

what are .class files? and how do they work?

i have only used .java for my stuff

thank you for your time
Apodysophilia is offline   Reply With Quote
Old 02-17-2004, 08:06 PM   #2 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
a class file is the compiled output of a java source file, in jvm runtime linker format.

how have you been testing your code without class files?
joe_bruin is offline   Reply With Quote
Old 02-18-2004, 02:05 PM   #3 (permalink)
Apodysophilia
Regular Contributor
 
Apodysophilia's Avatar
 
Join Date: Apr 2003
Location: noWhere, PA
Posts: 104
Apodysophilia is on a distinguished road
Send a message via AIM to Apodysophilia
i used the code codewarrior projects

how do i go about making .class files for my .java stuff
Apodysophilia is offline   Reply With Quote
Old 02-20-2004, 05:43 AM   #4 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,166
Belisarius is on a distinguished road
I'm not familiar with Code Warrior. Java comes with a compiler called "javac". The simple way to do things is "javac MyProject.java", and it will create the .class file. You then say "java MyProject", and it will run the .class file.

I'm not sure that will work with whatever Code Warrior generates, which might be an elaborate package.

Honestly, unless you need this done yesterday, I'd ditch Code Warrior as it'll only serve as a crutch until you understand how the basics of Java work.

Sun (the maintainers of Java) have really good documentation on the language. They have a introductory tutorial online. I'd check that out. Here's the url:

http://java.sun.com/learning/new2java/index.html

Stick away from examples with Applets/Servlets. They'll just confuse you for now. Stick to Applications.
__________________
GitS
Belisarius is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 01:48 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting