This is what i am getting on running the program........ .
C:\PROGRA~1\Jav a\JDK15~1.0\bin >javac Editor.java
Note: Editor.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecati on for details. I did run the program like this after compiling it using javac command........ .
I get this........
C:\PROGRA~1\Jav a\JDK15~1.0\bin >Editor
'Editor' is not recognized as an internal or external command,
operable program or batch file.
On giving Editor.java as the command the file itself gets opened and not a new text editor that i want........... .....
Below is my code with no errors but its not running........ . 4 2113
The
command does not run the program. It compiles the .java file into a .class file.
To run the .class file, run the
command
That deprecated warning thing means exactly what it says there.
I did run the program like this after compiling it using javac command........ .
I get this........
C:\PROGRA~1\Jav a\JDK15~1.0\bin >Editor
'Editor' is not recognized as an internal or external command,
operable program or batch file.
Do not start many threads on the same topic. Use one thread for one problem.
Type
at the command after compiling to run the program
Ok Sorry.......... ...
I will remember that........... ...
And thanks a lot............ ......
Thank you sooooooooooooo much........... ....
Bye............ .
take care...........
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Hal Vaughan |
last post by:
While experimenting with System.getProperty() and System.setProperty(), I've
noticed that I can change properties, but those changes do not last once
the JVM they're modified in terminates.
I experimented with java.class.path to see if I could extend it while a
class was running (I think I read about this somewhere, but I can't find it...
|
by: Peter Bassett |
last post by:
I haven't programmed in Java for awhile and forgot how to get this to work.
I have a program ListFiles developed in c:\java which lists every .JPG and
..GIF file in a folder. It works fine running from that folder. It takes 1
argument, the pathname, so a command could be "java ListFiles ."
But if I try to run it from another folder, using...
|
by: parthan |
last post by:
We are running our c++ program, which uses JNI, as Windows services.
Program is getting CLASSPATH env variable correctly and also
initializes JVM successfully. After initializing JVM, programs makes a
JNI call FindClass() for getting java class.But FindClass method
returns NULL even though java class exists in the CLASSPATH.
Same program...
|
by: jon |
last post by:
I am a beginner C programmer, this is actually my first programming
lanugage, besides html, cgi, and javascript. I am looking for a way to
make an .exe file, or a copy of my own file. I have tried writing a
file, compling it, and reading it in a notepad, then writing a program
to write it again, but i have had no luck. I assure you i'm not...
|
by: nishi57 |
last post by:
I hope I can get some help regarding this issue, which has been going
on for a while. I have a desktop user who is having problem running
"Stored Procedures". The DB2 Connect application works fine but when he
runs the stored procedure, he gets the following error message.
"SYSPROC".CSGCSB54 - Run started.
Data returned in result sets is...
| |
by: Nepomuk |
last post by:
Hi!
I'm trying to run an external Program with
Process p = Runtime.getRuntime().exec("/bin/sh -c \"/bin/gzip -c /home/user/workspace/TarGz/pics.tar > pics.tar.gz\"");
CleanStream cleanError = new CleanStream(p.getErrorStream(), "ERROR");
CleanStream cleanOutput = new CleanStream(p.getInputStream(), "OUTPUT");
clearError.start();...
|
by: shaileshkumar |
last post by:
hi,
iam unable to run my applications in netbeans4.1.
problem may be due to JVM or port numbers conflict.
i did not intentionally change any port numbers .
please guide me accordingly.
iam pasting the error report ( thanks in advance)
-------------------------------------------------------------------------
|
by: WP |
last post by:
Hello, I have a very simple script (or would you call it a batch
file?) with the following content:
connect to mydb2;
DROP TABLE staff_employee_address;
DROP TABLE staff_employee_address_telephone;
DROP TABLE staff_employee;
DROP TABLE staff;
commit;
terminate;
|
by: Siyodia |
last post by:
This is a java program which i need to run facing compilation error
Its consuming a third party web service method
I have the supported files(folder) which contain necessary class files org/apache/axis
The following is what i need to do but am unable to do
...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |