Hi Syed, i believe you are trying to compile a java file,
try like below jsh t24qa ~/PK.BP -->javac SocketClient.java to run the java program jsh t24qa ~/PK.BP>java SocketClient find the below link it will give you an idea http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javac.html On Fri, Jun 18, 2010 at 8:30 PM, syed raza <[email protected]> wrote: > hi, > I have a java class and i need to compile that naming socketclient. I have > tried using several alternatives but failed every time. > Description of error is given below > *Error resulted after running JAVAC* > jsh t24qa ~/PK.BP -->javac -version > javac 1.5.0 > javac: no source files > Usage: javac <options> <source files> > where possible options include: > -g Generate all debugging info > -g:none Generate no debugging info > -g:{lines,vars,source} Generate only some debugging info > -nowarn Generate no warnings > -verbose Output messages about what the compiler is > doing > -deprecation Output source locations where deprecated APIs > are used > -classpath <path> Specify where to find user class files > -cp <path> Specify where to find user class files > -sourcepath <path> Specify where to find input source files > -bootclasspath <path> Override location of bootstrap class files > -extdirs <dirs> Override location of installed extensions > -endorseddirs <dirs> Override location of endorsed standards path > -d <directory> Specify where to place generated class files > -encoding <encoding> Specify character encoding used by source > files > -source <release> Provide source compatibility with specified > release > -target <release> Generate class files for specific VM version > -version Version information > -help Print a synopsis of standard options > -X Print a synopsis of nonstandard options > -J<flag> Pass <flag> directly to the runtime system > jsh t24qa ~/PK.BP -->java -cp SocketClient > Usage: java [-options] class [args...] > (to execute a class) > or java [-jar] [-options] jarfile [args...] > (to execute a jar file) > where options include: > -cp -classpath <directories and zip/jar files separated by :> > set search path for application classes and resources > -D<name>=<value> > set a system property > -verbose[:class|gc|jni] > enable verbose output > -version print product version > -version:<value> > require the specified version to run > -showversion print product version and continue > -jre-restrict-search | -no-jre-restrict-search > include/exclude user private JREs in the version search > -agentlib:<libname>[=<options>] > load native agent library <libname>, e.g. -agentlib:hprof > see also, -agentlib:jdwp=help and -agentlib:hprof=help > -agentpath:<pathname>[=<options>] > load native agent library by full pathname > -javaagent:<jarpath>[=<options>] > load Java programming language agent, see > java.lang.instrument > -? -help print this help message > -X print help on non-standard options > -assert print help on assert options > jsh t24qa ~/PK.BP --> > ** > ** > ** > *Enviromental variables* > <unix> > TERM=xterm > JBCRELEASEDIR=<JBASEPATH> > JBCGLOBALDIR=<JBASEPATH> > > JBCOBJECTLIST=<GLOBUSPATH>/lib:<GLOBUSPATH>/silklib:<GLOBUSPATH>/globuspatchlib:<GLOBUSPATH>/globuslib:<JBASEPATH>/lib > LD_LIBRARY_PATH=<JBASEPATH>/lib:/usr/ccs/lib:/usr/lib:/oracle/client/lib > LIBPATH=<JBASEPATH>/lib:/usr/ccs/lib:/usr/lib:/oracle/client/lib > SHLIB_PATH=<JBASEPATH>/lib:/usr/ccs/lib:/usr/lib:/oracle/client/lib > JEDIFILEPATH=<GLOBUSPATH> > JBCLISTFILE=<GLOBUSPATH>/&SAVEDLISTS& > JBCSPOOLERDIR=/usr/jspooler > JEDIFILENAME_MD=<GLOBUSPATH>/VOC > JEDIFILENAME_SYSTEM=<GLOBUSPATH>/SYSTEM > > PATH=<JBASEPATH>/bin:<JBASEPATH>/config:/usr/java5_64/bin:/usr/local/bin:<GLOBUSPATH>/bin:<GLOBUSPATH>/globuspatchbin:<GLOBUSPATH>/globusbin:/oracle/client/bin > JBCBASETMP=<GLOBUSPATH>/workfile/tmp_$$ > JBCEMULATE=prime > JBASE_ERRMSG_NON_NUMERIC=1 > JBASE_WARNLEVEL=30 > JBASE_INHIBIT_ZERO_USED=1 > JEDIENABLEQ2Q=1 > JEDI_SOB_NOCLOSE=1 > JEDI_XMLORACLE_ENABLE_ALL_COLUMNS=0 > JEDI_LARGE_LOAD=ENABLE > JEDI_XMLORACLE_WYATT_EARP=true > JBC_UNLOCK_LASTCLOSE=1 > # JBC_EXIT_FAILEDREAD=1 > # JBC_EXIT_ZEROREAD=1 > JBASE_CODEPAGE=utf8 > # JBASE_I18N=1 > JBASE_DEBUG_PIPE=1 > NLS_LANG=AMERICAN_AMERICA.AL32UTF8 > OFS_SOURCE=<OFSSOURCE> > ORACLE_HOME=/oracle/client > ORACLE_BASE=/oracle/client > ORACLE_SID=bksilk > TNS_ADMIN=/oracle/client/network/admin > TWO_TASK=bksilk > </unix> > <win32> > TERM=xterm > JBCRELEASEDIR=<JBASEPATH> > JBCGLOBALDIR=<JBASEPATH> > > JBCOBJECTLIST=<GLOBUSPATH>\lib;<GLOBUSPATH>\globuspatchlib;<GLOBUSPATH>\globuslib > JEDIFILEPATH=<GLOBUSPATH>\ > JBCLISTFILE=<GLOBUSPATH>\&SAVEDLISTS& > JBCSPOOLERDIR=<JBASEPATH>\jspooler > JEDIFILENAME_MD=VOC > JEDIFILENAME_SYSTEM=<JBASEPATH>\src\SYSTEM > > PATH=<JBASEPATH>\bin;<GLOBUSPATH>\bin;<GLOBUSPATH>\globuspatchbin;<GLOBUSPATH>\globusbin > JBCBASETMP=<GLOBUSPATH>\tmp_workfile > JBCEMULATE=prime > JBASE_WARNLEVEL=30 > JBASE_INHIBIT_ZERO_USED=1 > JEDIENABLEQ2Q=1 > JBC_UNLOCK_LASTCLOSE=1 > # JBC_EXIT_FAILEDREAD=1 > # JBC_EXIT_ZEROREAD=1 > JBASE_CODEPAGE=utf8 > # JBASE_I18N=1 > JBASE_DEBUG_PIPE=1 > OFS_SOURCE=<OFSSOURCE> > </win32> > > > > > -- > Please read the posting guidelines at: > http://groups.google.com/group/jBASE/web/Posting%20Guidelines > > IMPORTANT: Type T24: at the start of the subject line for questions > specific to Globus/T24 > > To post, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit this group at > http://groups.google.com/group/jBASE?hl=en > -- -- Imran Akbar -- +91 9884365530 -- Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
