Javac -source KeyTest.java

Ads

 
 

Share on Google+Share on Google+

Pradip Dutta
Javac -source KeyTest.java
0 Answer(s)      6 years and 7 months ago
Posted in : Java Beginners

Sam works as a software developer for Amrtech info. He writes code using assert as an identifier for a class named KeyTest. Which of the following will he use to compile the KeyTest class successfully? a. Javac -source 1.4 KeyTest.java b. Javac -source 1.5 KeyTest.java c. Javac -source 5 KeyTest.java

Ads
View Answers
Ads









Related Tutorials/Questions & Answers:
javac complier not found - JSP-Servlet
javac complier not found  i am facing problem to run jsp simple page to run jsp page through tomcat error occured unable to find javac comlier or root of cause not find jdk i have set java_home as c:\program Files\java
Version of plexus>plexus-compiler-javac dependency
List of Version of plexus>plexus-compiler-javac dependency
Advertisements
Version of com.pushtorefresh>javac-warning-annotation dependency
List of Version of com.pushtorefresh>javac-warning-annotation dependency
javac is not ecognised as internal and external command - Java Beginners
javac is not ecognised as internal and external command  i have installed jdk6u20 develpment kit on my pc and followed all the instructions about setting the classpath in system variable.but still i am getting the error i.e javac
Maven Dependency plexus-compiler-javac >> 1.0
You should include the dependency code given in this page to add Maven Dependency of plexus >> plexus-compiler-javac version1.0 in your project
Maven Dependency javac-warning-annotation >> 1.0.0
You should include the dependency code given in this page to add Maven Dependency of com.pushtorefresh >> javac-warning-annotation version1.0.0 in your project
About IDE
About IDE       Generally, a java programmer starts programming with a notepad. To compile and run a program, a programmer uses javac and java commands at the command prompt
Eclipse IDE
. To compile and run a program, a programmer uses javac and java commands... with Eclipse IDE This is free and open source, extensible IDE
java compiler
java compiler  how we can convert .java file to a .class file without using javac
Java Complier
Java Complier  in the cmd e=when i enter the dir it shows the my file name.but when i type javac it shows the error like javac is recognized as internal and external.i am restart the system also.but its not working
Java Complier
Java Complier  In the cmd when i enter the dir it shows the my file name.but when i enter the javac its give the error like javac is not recognized as internal and external.i am restart the system also after changing
annotation error
the correct name with javac command. Here we have used your specified classname. javac -cp JdbcProjam.java
Getting the Current Working Directory in Java
C:\nisha>javac GetCurrentDir.java C:\nisha>java GetCurrentDir Current Working Directory : C:\nisha C:\nisha> Download this example
java
java  sir it is possible to compile a java program with errors but itcannot be shown.i need all javac commands used to compile java
java compilation error - Java Beginners
update 12) from www.java.com. whenever i try to compile the program using javac command, error message is displayed javac is not recognized as an internal command or batch file then i looked into bin ,there is no javac file. plz tell me
java
java  we compile FileName.java with command javac FileName.java. then at run time, how JVM decide that .class must be compiled(with JIT compiler) or interpreted or work both at same time.(use of JIT compiler and Interpreter
how to compile programs??????????
how to compile programs??????????  "javac" is not recognised as a file name. why??????????   Have you set your path name and class name correctly? Anyways have a look at the following link: Install Java
kedhar
kedhar  i'm getting the problem as error: cannot read: Print.java 1 error this problem occuring me when i'm trying to compile the pgm with javac classname.java please help me out this POPEstrong text
java not run on my pc
java not run on my pc  i have installed java in pc but when i run and compile any program the massage is display that 'javac' is not recognized as an internal or external command
java error - Java Beginners
java error  G:\threading>javac threadmethods.java Note: threadmethods.java uses or overrides a deprecated API. Note: Recompile with -Xlint... as: javac -Xlint prime.java Thanks
how to run - Java Beginners
the "javac" command to compile the program and after compiling,uses "java" command... file on the command prompt using: "javac HelloWorld.java". And then run it using
Compiling package in command line
CLASSPATH=.;C:\; C:\mypackage>javac shamil.java 'javac' is not recognized
Regarding path settings in java
by typing javac Hell.java it is not working in compiling and telling no external... the solution for the problem whether there is any fault in settings or compiling(javac... instructions to type as javac Hello.java but still it is not working,so please tell
error while compiling - Java Beginners
error while compiling  i am facing problem with compiling and running a simple java program, can any one help me, the error i am getting is javac is not recognised as internal or external command  Check if you JAVA_HOME
JAVA - Java Beginners
JAVA  how to compile the DNA Sequence Question and what are the the files should be created while compiling becoz it is not compiling its makes the following line to be appeared while compiling D:\JAVA>javac
java-basics
java-basics  hi,anybody tell me What is the use of bin and lib in JDK?  Lib contains all packages and variables.Data types,Variables and Arrays.and Bin contains all tools such as javac, applet viewer, awt tool etc
Change a file timestamp
C:\vinod\Math_package>javac ChangeFileDate.java C:\vinod\Math_package>java ChangeFileDate Change file timestamp example! Enter file name with extension: StrStartWith.shtml Enter last
Exception Handling-Error Messages in Program
Exception Handling-Error Messages in Program  Sorry about the first code block: import java.util.*; class GradeException extends Exception{ public GradeException(String s){ System.out.println(s); } } ----jGRASP exec: javac -g C
MyQuestions
MyQuestions  how javac work? why we call jvm as virtual machine? how user run .class file from jarfile? how objects,reference variables & simple variables and values stored in heap/stack memory? what is the class path
how to run this program?
with javac and run with java command, same as a simple java program. Learn Swing

Ads

 
Advertisement null

Ads