You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by "Thayer, Bobby J IT1 (SW) (STE OPS/CC)" <th...@ddg63.navy.mil> on 2009/02/04 16:09:47 UTC
Can't get JAVAC to work.
To whom it may concern,
I am taking a college class right now and we are using Derby. We are at
a point in the class where we have to use the JAVAC command to do some
tasks but it does not work for me. I have a JDK and a JRE installed and
was told that I can not have the JRE installed. I am taking another
class at the same time and it uses Eclipse which requires a JRE to
function. I need to know if there is a way I can have everything
installed and still have it work?
V/R
IT1(SW) Bobby Joe Thayer
USS Stethem (DDG-63)
OPS/CC LAN, ADNS, SKED, NTCSS Admin
Information Systems Security Officer
DSN: 315-243-3034
POTS: 619-545-8389(DSN 312-735-8389)
thayerb@ddg63.navy.mil <ma...@ddg63.navy.mil>
thayerb@ddg63.navy.smil.mil <ma...@ddg63.navy.smil.mil>
Click here to submit a trouble call.
<http://ddg63usv01/AIS/Lists/Trouble%20Calls/NewForm.aspx?RootFolder=%2F
AIS%2FLists%2FTrouble%20Calls&Source=http%3A%2F%2Fddg63usv01%2FAIS%2FLis
ts%2FTrouble%2520Calls%2Factive%2Easpx>
Re: Can't get JAVAC to work.
Posted by Mikael <mi...@telia.com>.
You can have both a JRE and a JDK installed (the JDK also installs a JRE), what is the problem, do you get som kind of error or what ?
Do you have a PATH setup to the java_install_dir/bin directory so that you can find the java/javac executable without having to type the
full path ?
----- Original Message -----
From: Thayer, Bobby J IT1 (SW) (STE OPS/CC)
To: derby-user@db.apache.org
Sent: Wednesday, February 04, 2009 4:09 PM
Subject: Can't get JAVAC to work.
To whom it may concern,
I am taking a college class right now and we are using Derby. We are at a point in the class where we have to use the JAVAC command to do some tasks but it does not work for me. I have a JDK and a JRE installed and was told that I can not have the JRE installed. I am taking another class at the same time and it uses Eclipse which requires a JRE to function. I need to know if there is a way I can have everything installed and still have it work?
V/R
IT1(SW) Bobby Joe Thayer
USS Stethem (DDG-63)
OPS/CC LAN, ADNS, SKED, NTCSS Admin
Information Systems Security Officer
DSN: 315-243-3034
POTS: 619-545-8389(DSN 312-735-8389)
thayerb@ddg63.navy.mil
thayerb@ddg63.navy.smil.mil
Click here to submit a trouble call.
Re: Can't get JAVAC to work.
Posted by Kai Ponte <ka...@perfectreign.com>.
Thayer, Bobby J IT1 (SW) (STE OPS/CC) wrote:
>
> To whom it may concern,
>
>
>
> I am taking a college class right now and we are using Derby. We are
> at a point in the class where we have to use the JAVAC command to do
> some tasks but it does not work for me. I have a JDK and a JRE
> installed and was told that I can not have the JRE installed. I am
> taking another class at the same time and it uses Eclipse which
> requires a JRE to function. I need to know if there is a way I can
> have everything installed and still have it work?
>
Go to a console (whether your in Linux, Unix or some other OS) and type
java -version to make sure you have a JRE (runtime) loaded.
Then to see if you have a JDK (development kit) loaded you are going to
have to dig a bit. If you're on Linux it will be under /usr/bin
kai@xwing:~/.VirtualBox> which javac
/usr/bin/javac
If you're on another OS, then it will be under something like
C:\Progra~1\j2sdk1.5.x\bin or something like that.
--
kai
www.perfectreign.com || www.filesite.org
a turn signal is a statement, not a request