Lost Password?

Go Back   CodeCall Programming Forum > Software Development > Java Help

Java Help Java Help forum discussing all Java platforms - J2ME, J2SE and J2EE - as well as relevant standards, APIs and frameworks such as Swing, Servlets, JSPs, Applets, Struts, Spring, Hibernate, ANT, EJB, and other Java-related topics.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-20-2006, 08:34 PM
terabite's Avatar   
terabite terabite is offline
Newbie
 
Join Date: Nov 2006
Location: jamaica
Posts: 14
Rep Power: 0
terabite is on a distinguished road
Default problems wit the JDK 6

Can anyone give me instruction on how to install the jdk 6 and how to make javac a command in the command line:confused?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 11-20-2006, 09:26 PM
xXHalfSliceXx's Avatar   
xXHalfSliceXx xXHalfSliceXx is offline
Co-Administrator
 
Join Date: Oct 2006
Location: Hendersonville, NC
Age: 24
Posts: 1,160
Rep Power: 20
xXHalfSliceXx is on a distinguished road
Send a message via AIM to xXHalfSliceXx Send a message via MSN to xXHalfSliceXx Send a message via Yahoo to xXHalfSliceXx
Default

Welcome to our Forums.... But maybe you should have looked on their site also while you were at it. I am guessing you are having a problem like they are stating here.

http://download.java.net/jdk6/binaries/

Also check this out.
http://gcc.gnu.org/ml/java-patches/2.../msg00006.html
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Company
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-21-2006, 08:13 AM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Age: 26
Posts: 5,857
Last Blog:
Performance or Maintai...
Rep Power: 20
Jordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud of
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default

Are you making command line in DOS or on another platform?

Here is a good tutorial on command line:

http://java.sun.com/docs/books/tutor...dLineArgs.html
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
Don't hesitate to ask any questions that you have! Check out our ASCII Calculator!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-21-2006, 10:35 AM
terabite's Avatar   
terabite terabite is offline
Newbie
 
Join Date: Nov 2006
Location: jamaica
Posts: 14
Rep Power: 0
terabite is on a distinguished road
Default confused????

As i said im just a biginner.when ever i try to compile a program in the command line im gettin this error ''javac' is not recognized as an internal or external command, operable program or batch file. i need your help but make it simple
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-21-2006, 12:03 PM
WingedPanther's Avatar   
WingedPanther WingedPanther is offline
Super Moderator
 
Join Date: Jul 2006
Age: 35
Posts: 2,035
Last Blog:
NaNoWriMo Day 23 The...
Rep Power: 24
WingedPanther is a jewel in the roughWingedPanther is a jewel in the roughWingedPanther is a jewel in the roughWingedPanther is a jewel in the rough
Default

It depends on what your operating system is. The short answer is that you have to set your path.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 11-21-2006, 12:39 PM
terabite's Avatar   
terabite terabite is offline
Newbie
 
Join Date: Nov 2006
Location: jamaica
Posts: 14
Rep Power: 0
terabite is on a distinguished road
Default windows xp sp2

how should i set the path on windows xp sp2 in order for me to use javac as a command???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11-23-2006, 09:33 AM
terabite's Avatar   
terabite terabite is offline
Newbie
 
Join Date: Nov 2006
Location: jamaica
Posts: 14
Rep Power: 0
terabite is on a distinguished road
Thumbs up its working!

u can forget obout that post about windows xp ive finally figured out how to set the path variable ,thanks to your words of advice and me doing some research on my own, i can now start my java programming career using sams "teach yourself java programming in 24 hours along with the guidance of my programming gods and masters in this forum. (teach me guys! i hope to be as good as u some day!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-23-2006, 01:38 PM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Age: 26
Posts: 5,857
Last Blog:
Performance or Maintai...
Rep Power: 20
Jordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud of
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default

Quote:
Originally Posted by terabite View Post
u can forget obout that post about windows xp ive finally figured out how to set the path variable ,thanks to your words of advice and me doing some research on my own, i can now start my java programming career using sams "teach yourself java programming in 24 hours along with the guidance of my programming gods and masters in this forum. (teach me guys! i hope to be as good as u some day!)
Thanks for the kind words! We will try to help you along the way. I've read a couple of "sams teach yourself" books and they arn't bad at all. What is your first project going to be?
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
Don't hesitate to ask any questions that you have! Check out our ASCII Calculator!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 11-23-2006, 03:13 PM
terabite's Avatar   
terabite terabite is offline
Newbie
 
Join Date: Nov 2006
Location: jamaica
Posts: 14
Rep Power: 0
terabite is on a distinguished road
Smile well...

since i started reading the book ive written a few simple applications and applets....currently im on my sevent hour where im learning how to use Conditional Tests to Make Decisions, and so far ive learned how to use variables and strings in programs...but im havinga little problem with the use of methods. could u explain that a little for me?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 11-24-2006, 11:22 AM
Lop's Avatar   
Lop Lop is offline
Speaks fluent binary
 
Join Date: May 2006
Posts: 1,135
Rep Power: 16
Lop is on a distinguished road
Default

Sure, what do you want to know about methods? What are you having problems with?

A method is a function. You use methods wherever you will need to call the same set of code multiple times. Here is a C++ method

Code:
void HelloWorld() 
{
   cout << "Hello World";
}
So, from inside of my code wherever I want to display "Hello World" I simple just call my function

Code:
HelloWorld
Here is a java example:
Code:
import java.awt.*;
import java.applet.*;

public class calculation extends Applet
{ int first, answer;

  public void paint (Graphics g)
  { 
    first = 34;
    calculation();
    g.drawString("Twice 34 is " + answer, 10, 25);
  }

  public void calculation ()
  { 
        answer = first * 2;
  }
}
More info: http://richardbowles.tripod.com/java...ds/methods.htm
__________________
Lop
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems in GETMEM.INC with newer WinXP security updates. dima_q Pascal/Delphi 0 06-04-2007 09:17 AM
Problems in compiling D-ITG MietitoreDAnime C and C++ 2 02-15-2007 11:18 AM
Problems with Google? Void Marketing 4 07-23-2006 07:12 PM
OnMouseMove problems Lop C and C++ 3 06-27-2006 03:42 PM


All times are GMT -5. The time now is 03:27 PM.

Contest Stats

John ........ 223.00000
dargueta ........ 168.00000
Xav ........ 164.00000
gaylo565 ........ 18.00000
WingedPanther ........ 15.00000
|pH| ........ 15.00000
Johnnyboy ........ 3.00000
navghost ........ 1.00000

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 65%

Ads