Cd c:\java gives me different output and javac doesnt work
Dear friends;
once I type cd c:\java it gives me different output and after that javac doesn't work
Like
javac filename.java
doesnt compile.
Any comments, please.
C:\Program Files>java
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-showversion print product version and continue
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
C:\Program Files>
That error means that the file does not exist or you got the filename wrong (which means it does not exist)...
recheck the location of your file and verify that it actually there...
Step 2, now that we know that the J2SDK1.4.2_03 is installed in C:\j2sdk1.4.2_03\bin...
We can now set you path... If you have an Windows 2000 or XP then check this link in the forum...
http://forum.java.sun.com/thread.jsp?forum=54&thread=491703&tstart=0&trange=15
So what you do is right click on My Computer (icon) which will give you a menu...
Select Properties at which point you will see the System Properties Dialog window...
Select the Advanced Tab (called Details in Win2000) Click on the Environment Variables button...
Which will open the Environment Variable Dialog window... then in the second little window labeled System Variables, select Path and click on the edit button...
you will now see the Edit System Variable dialog window...
in Variable Value goto the the end of that line (make sure that nothing is selected/highlighted), type
";c:\j2sdk1.4.2_3\bin
make sure that you include the semicolon...
click ok to make the change, and via the ok buttons exit System Properties...
reopen DOS and now you should be able to run Javac.exe anywhere...
Hope this helps...
-MaxxDmg...
-' He who never sleeps...'
Similar Messages
-
Kindly refer to Case Id No. 525700065 in India.I have talked to various people on my case for more than 5 hours ( Total talk time) The people give various different answers and aim really fed up now. What do i do?
Many apple phone users are especially fed up with RSGI Communication , Erandwana, Pune, Maharashtra, India.
Their service report No. 36679.
Allthough Mr Punit ( Technical Dept. Apple.) had requested RSGI to chance the device, still RSGI said they do not have the device ( I phone 5, white ,16GB) in stock.
Today when we contacted them they said they won't be able to replace OR order to Apple unless and until we do not keep the device with them for 3 days.
Mr Deepak of Technical Dept Apple was contacted who's telephonic Transript as proof is available with us.Who exactly are you addressing your screed to
There are no Apple Staff on this forum ,it is User to User -
I bought a brand new charger for my iphone 5 less then two months ago and it doesnt work now
i bought a brand new charger for my iphone 5 less then two months ago and it doesnt work now
You will have a hard time taking it back. Most places will claim you stepped on it accidentally and almost nobody will replace accidental damage for free. 2 months is also a long time. Many places give you 15-30 dys to discover anything wrong and after that it is yours.
-
and it doesnt work and it keeps crashing and i sent a report to itunes so they can refunde my money back but they wont answer me back please help me
We are all itunes users just like you. We cannot refund anything.
There are no refunds, but you can try contacting itunes support. Click "Support" at the top of this page, then click the link under "Contact Us" -
Re: i was charging my iphone 3GS yesterday in electricity when once it turned off suddenly while it was in quarter battery. I tried charging it again but it didint open, i tried to plug it into my laptop but itunes didnt recognize it and it doesnt work.
Hello candymerna,
At this point I would recommeng resetting the device if if will not turn on.
Resetting your device
Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
From: iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
http://support.apple.com/kb/ht1430
If it does turn on, but will not charge then take a look at this part of the article iPhone: Hardware troubleshooting found http://support.apple.com/kb/ts2802
Power/Battery
Battery does not charge from the USB power adapter
Important: Only original iPhone can be charged from a FireWire-based power source. If iPhone is connected to a computer that's turned off or is in sleep or standby mode, the battery may drain.
Verify that the outlet being used is working.
Try another USB power adapter if available.
If no other USB power adapter is available, try connecting to a high-power USB 2.0 port (not a keyboard). The computer must be turned on and not in sleep or standby mode.
Try another USB cable if available.
Also refer to iPhone and iPod touch: Charging the battery.
If it is charging, but not recognized in iTunes take a look at one of these articles depending on your Operating System.
iOS: Device not recognized in iTunes for Windows
http://support.apple.com/kb/TS1538
or
iOS: Device not recognized in iTunes for Mac OS X
http://support.apple.com/kb/ts1591
Cheers,
Sterling -
i was charging my iphone 3GS yesterday in electricity when once it turned off suddenly while it was in quarter battery. I tried charging it again but it didint open, i tried to plug it into my laptop but itunes didnt recognize it and it doesnt work. help plzzz
Hello candymerna,
At this point I would recommeng resetting the device if if will not turn on.
Resetting your device
Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
From: iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
http://support.apple.com/kb/ht1430
If it does turn on, but will not charge then take a look at this part of the article iPhone: Hardware troubleshooting found http://support.apple.com/kb/ts2802
Power/Battery
Battery does not charge from the USB power adapter
Important: Only original iPhone can be charged from a FireWire-based power source. If iPhone is connected to a computer that's turned off or is in sleep or standby mode, the battery may drain.
Verify that the outlet being used is working.
Try another USB power adapter if available.
If no other USB power adapter is available, try connecting to a high-power USB 2.0 port (not a keyboard). The computer must be turned on and not in sleep or standby mode.
Try another USB cable if available.
Also refer to iPhone and iPod touch: Charging the battery.
If it is charging, but not recognized in iTunes take a look at one of these articles depending on your Operating System.
iOS: Device not recognized in iTunes for Windows
http://support.apple.com/kb/TS1538
or
iOS: Device not recognized in iTunes for Mac OS X
http://support.apple.com/kb/ts1591
Cheers,
Sterling -
my ipad 2 touchscreen doesn't work on most of the screen it got cracks all down the left side of my ipad and it has been working fine for a year after cracking but just woke up and touchscreen doesnt work i have tried to reboot it but still nothing
It might be time to contact Apple for an out of warranty repair (actually replacement)
See here: http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipad
Replacement for any model iPad 2 is $249 -
i have an iphone 5s and my phone was working perfectly fine then it turn into a blue screen and after that i tried to restore it but when i do the phone does half of the steps and then it turns into a blue screen and it doesnt work again what can i do?
The Basic Troubleshooting Steps are:
Restart... Reset... Restore from Backup... Restore as New...
Malvinfromny wrote:
... i tried to restore it but when i do the phone does half of the steps and then it turns into a blue screen and it doesnt work again what can i do?
If you try all these Steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step... Be sure to make an appointment first... -
My iPhone is frozen. It was working find about a hour ago and then for no reason the screen went to the apple logo. I have tried to reset it and that doesnt work. When I press the power/lock button and the center key it turns off but then it comes right back to the apple logo screen and wont go any further. Please help I dont have my stuff saved and would like to keep the stuff i do have on it!!! Every once in awhile the screen will go black for a few seconds then the apple logo pops right back up! I dont know what to do.....
Try to set it up as new device, explained here:
How to back up your data and set up as a new device
First without using the backup, in case it contains corrupt data.
If it works after that, use the backup to restore from. -
Is there anyway you can enable iphone 4 afer being locked out by entering wrong passcode more than 5 times and it says to connect to itunes and still doesnt work???? so frustrating... apple cannot
iOS: Forgotten passcode or device disabled after entering wrong passcode
-
I did try in all of them and it doesnt work it apears like that........
The share operation Master File has failed
The operation could not be completed because an error occurred when creating frame 608 (error -1).
and i dont know what to do plese hlp me....
Re: when i try to share my project to quicktime aroun 50% appears error -1 and i can't share it what to do please helpDouble post…
-
HELP! just a b & w screen with "do not disconnect" and restore doesnt work
i dont know whats wrong with my ipod, its just got a b & w version of the normal "do not connect" screen, even when iTunes hasnt recognised it being plugged in, and if i reset it, it just has that folder picture, and the aple.com/support/ipod thing on the screen, before going back to the "do not disconnect" again in black and white. and restore doesnt work, it just says some error, and quits. Does anyone have any idea whats wrong? thanks
(its a 5th gen ipod with video, which should be colour)
Windows XPSame thing here!!
-
Why wont my Tv Show Download? it only says "download error. tap to retry" and tapping doesnt work it just keeps on saying the same thing.
It appears in the download section of my itunes.
I downloaded a season of Iron Man Anime and all of the episodes except episode 1 was downloaded. I looked at the error and it says "error = -50" and when I try to resume downloading, it continues to tell me that there is a download error and it wont resume.
It also says to check my network connection, but I'm connected. So....I'm not sure what to do...this kind of ticks me off. -
Is this an airport express problem?? Only Youtube and google doesnt work. Its not work only on wifi from airport express. I really have no idea about technical problem.
After the last upgrade, my itunes doesn't open (this happen only the first time after the start of my pc). It seems frozen.To re-open Itunes i need to terminate APS deamon every time from task manager.
What is Apple doing to solve this problema? Thank you. -
on my macbook my one button delete botton sound buttons and escape doesnt work i updated everything and it still doesnt work what do i do
Unless somebody else has a micracle workaround I don't know. Probably get the phone in for repair since it has been living on borrowed time so far and now you absolutely must have a working button.
Maybe you are looking for
-
I read on the elements 8 for mac page that it works easily with iphoto. My question is how? I can find nothing in the elements documentation about working with iphoto and when I try to access the iphoto library via file>open and select iphoto library
-
Currency conversion in SAP Query
Hi, We need to develop a SAP query(SQ01) in which we have to pull two fields maintained in sales order (sales order net value & PO net value(ie.z field)). These fields values may be maintained in different currencies. So need to know how to convert
-
Filling in a shape with a dot pattern
Hi there, I have this shape of a light which I am trying to fill with a dot pattern but when applied it cuts some of the dots off. How can I avoid this? Ideally it would also follow the 3 dimensional shape of the object, like the first picture. This
-
JCAPS 5.1.3 Can't enable application
I have a simple eVision application. I've done some changes to it (deleted one page and link from the Page Flow) and tried to redeploy it. But the deployment ended with an exception and the app. couldn't be enabled. [#|2007-11-29T10:24:43.363+0100|IN
-
This is my second day with a 4s. I just finished deleting all the email, however, still in my mailbox is the following : (No Sender) (No Subject) This message has no content. They are all dated 12/31/69. I am unable to highlight them or delete them.