05-06-2009
Run with classpath to JavaMail specified also. JavaMail is NOT part of Java SE.
java -cp ../lib/javaMail/javaMail.jar javaMail
10 More Discussions You Might Find Interesting
1. Programming
is it possible in the first place?
if so, how should I go about it? (0 Replies)
Discussion started by: finalight
0 Replies
2. Programming
hi
there is example (on link given below )of such code that contains java class reference in c++ program.
http://slackware.cs.utah.edu/pub/slackware/slackware-7.1/docs/Linux-HOWTO/Process-Monitor-HOWTO
I am new in linux environment. and not able to compile it.
when i compile it through... (1 Reply)
Discussion started by: surinder
1 Replies
3. Solaris
Hi,
I have installed Solaris 10 on a VMware. How to compile a java program as there is no javac in 'bin' directory. Thanks in advance for answers and sorry if the question is soo basic. (3 Replies)
Discussion started by: mayahari
3 Replies
4. HP-UX
How would I go about compiling a .java file into a .class file? (1 Reply)
Discussion started by: Tecron
1 Replies
5. UNIX for Dummies Questions & Answers
The java program is a part of speech tagger -> The Stanford NLP (Natural Language Processing) Group
The goal is to use this script as part of a webpage to tag parts of speech based on a user-inputted string.
I have no idea what to do with the files - I'm a complete *nix noob. I tried running... (4 Replies)
Discussion started by: tguillea
4 Replies
6. Programming
Hi,
I have a program which collects performance data from AIX. It works fine on older releases (< 5.3) but I fail to get data from /proc.
I would really appreciate it if someone could compile (using ANSI compat C compiler), run the program (for 30-40 minutes) on AIX 6.1 and send me the... (2 Replies)
Discussion started by: StuBob
2 Replies
7. UNIX for Advanced & Expert Users
What is the trick to get a java program to run and compile? I can't even get a basic skeleton to run and compile. What packages do I need? I figured the java-gcj and gcc-java packages was enough. Do I need any other packages?
I thought I had to do this and it would work but its not.
javac... (1 Reply)
Discussion started by: cokedude
1 Replies
8. Shell Programming and Scripting
If I run 'who -u' interactively or from a script invoked through bash in a tty on my Ubuntu 12LTS box I get an output like this:
testuser pts/0 Dec 9 02:32 . 2163 (host.xx.yy)
running the same through cron I get:
testuser pts/0 2012-12-09 02:32 00:05 2163... (2 Replies)
Discussion started by: latimer
2 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. Programming
Hello!
This is my first post, and I just learned what UNIX was this week. For a JAVA programming class I am taking, I must be able to create a directory in UNIX, use the nano command to create a JAVA program, compile it, and then run it on the command prompt using the java command.
For some... (5 Replies)
Discussion started by: UNdvoItX
5 Replies
LEARN ABOUT CENTOS
build-classpath
BUILD-CLASSPATH(1) Java Packages Tools BUILD-CLASSPATH(1)
NAME
build-classpath - build a Java CLASSPATH
SYNOPSIS
build-classpath JAR|artifact-coordinates [JAR|artifact-coordinates ...]
DESCRIPTION
Small utility to build a Java CLASSPATH with the named JARs or Maven artifact coordinates. Artifact coordinates specify Maven artifact and
are in format groupId:artifactId[:extension[:classifier]]:version. If extension is omitted then "jar" is used. If classifier is omitted
then empty classifier is used. For more information see XMvn Configuration Reference. The CLASSPATH is returned to standard output.
EXAMPLES
build-classpath junit xerces-j2 wsdl4j - this will return a string to standard out that is a valid CLASSPATH containing junit, xerces-j2,
and wsdl4j JARs.
build-classpath log4j:log4j org.apache.commons:commons-io - this will return a string to standard out that is a valid CLASSPATH containing
log4j and commons-io JARs.
build-classpath com.google.inject:guice::no_aop: - this will return a string to standard out that is a valid CLASSPATH containing
google-guice JAR with classifier no_aop.
AUTHOR
Originally written by David Walluck.
REPORTING BUGS
Bugs should be reported through Red Hat Bugzilla at http://bugzilla.redhat.com/.
SEE ALSO
build-jar-repository(1), rebuild-jar-repository(1),
JAVAPACKAGES
06/10/2014 BUILD-CLASSPATH(1)