04-30-2014
I understand the logic of creating a file through the text editor, compiling it, then running it through the command prompt. I am still having problems
when I do the ls command, I can see any listed file.
I even type nano filename in order to see the text of filename in the text editor and it is there
however, when I use these commands
javac filename.java
java filename
The file can not be found, or I get a message saying that the main java class cannot be loaded
My steps:
create a directory: mkdir directoryname
change to directory: cd directoryname
create a file: nano filename
Ctrl+x, NO
compile the file: javac filename.java file cannot be found
java filename: cannot find or load main java class
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need a sheet with the basic unix commands , and commands for VI editor. Does anyone know where i can get them. (3 Replies)
Discussion started by: Peter Spellman
3 Replies
2. Windows & DOS: Issues & Discussions
Hi.
I'm New user for this Forum.Presently i'm working with Cygwin
I want to know the basic commands that will be used for Cygwin.
Can anyone guide me on this regards
Thanks & Regards
Sanjay (0 Replies)
Discussion started by: sanjay.karthik
0 Replies
3. UNIX for Dummies Questions & Answers
Why do basic unix commands such as "ls" not work in "BASH" mode??
I am frustrated!! (10 Replies)
Discussion started by: PixelLover
10 Replies
4. Programming
is it possible in the first place?
if so, how should I go about it? (0 Replies)
Discussion started by: finalight
0 Replies
5. UNIX for Advanced & Expert Users
Hi,
Iam trying to code in java and wanted to run the commands in the Unix remote servers. I have the following code to run multiple GREP commands in a single session.
But when i execute this, the first command executes successfully, whereas from the next line it says
"Exception Occured... (1 Reply)
Discussion started by: gravi2020
1 Replies
6. Programming
Greeings all
Im trying to excute a command from Java and direct the output to the main output screen or to another file .... can you please help with this ? can I use filewriter for this ?
Here is my code....
import java.io.BufferedReader;
import java.io.File;
import java.io.FileWriter;... (3 Replies)
Discussion started by: yahyaaa
3 Replies
7. HP-UX
I am trying to run make command on 200000 files in HP UX but it refuses to compile giving a message that " command line is too long .stop" I checked and found out that there is a limit imposed by the operating system on the command line .for Eg refer following link :
The maximum length of... (6 Replies)
Discussion started by: madhur.tripathi
6 Replies
8. UNIX for Dummies Questions & Answers
I have just installed OpenBSD on a 333MHz PPC iMac G3. It has a 6GB HDD that has been partitioned as 1GB MacOS 8.5.1, 3GB MacOS X 10.3.9, 2GB OpenBSD 4.8. I now need to install a bootloader so that my computer can recognize the OpenBSD partition at startup. I have been trying to install... (0 Replies)
Discussion started by: t04st3r
0 Replies
9. UNIX for Dummies Questions & Answers
Hi
Im using MobaXterm Unix on my windows XP.I want to compile java in unix.I have installed java to the following path C:\Program Files\Java\jdk1.7.0_09\bin
In order to compile the java prog im typing the following command after entering into the bin directory:
C:\Program... (2 Replies)
Discussion started by: ak3141
2 Replies
10. Shell Programming and Scripting
Hi,
Brand new to these forums, and I hope that someone can help me out.
I'm trying to run the following command in UNIX
java -jar GenomeAnalysisTK.jar -T SplitSamFile -dt NONE -R reference.fa -I my.bam --outputRoot /my/path/SampleFiles/Sample_
It executes the SplitSamFile from GATK, but I... (3 Replies)
Discussion started by: Wixaros
3 Replies
LEARN ABOUT CENTOS
fop-ttfreader
FOP-TTFREADER(1) User Contributed Perl Documentation FOP-TTFREADER(1)
NAME
fop-ttfreader -- A tool which reads TTF files and generates XML font metrics file for use in FOP.
SYNOPSIS
fop-ttfreader [options] fontfile.ttf xmlfile.xml
OPTIONS
-enc ansi
with this option you can create a WinAnsi encoded font. The default is to create a CID keyed font. If you're not going to use
characters outside the pdfencoding range (almost the same as iso-8889-1) you can add this option.
-ttcname fontname
if you're reading data from TrueType Collection (.ttc file) you must specify which font from the collection you will read metrics from.
If you read from a .ttc file without this option, the fontnames will be listed for you.
-fn fontname
default is to use the fontname in the .ttf file, but you can override that name to make sure that the embedded font is used (if you're
embedding fonts) instead of installed fonts when viewing documents with Acrobat Reader.
EXAMPLES
"fop-ttfreader /usr/share/fonts/truetype/freefont/FreeSerif.ttf freeserif.xml"
generates freeserif.xml file containing XML font metrics from FreeSerif.ttf
JAVA-WRAPPERS NOTE
This program is a shell script wrapper based on java-wrappers(7). You therefore benefit from several features; please see the java-
wrappers(7) manual page for more information about them.
AUTHOR
Wrapper author: Arnaud Vandyck <avdyk@debian.org>
SEE ALSO
fop(1), java-wrappers(7)
Fop-TTFReader Sun Jan 15 11:24:34 UTC 2012 FOP-TTFREADER(1)