Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to set path for java in UNIX Post 302126661 by sysgate on Thursday 12th of July 2007 10:57:08 AM
Old 07-12-2007
Q - "subhotech" : How to set path for java in UNIX?
A - Find where java is installed - "which java" and set the path in /etc/profile or respective file, real use case near me:

Quote:
JAVA_HOME=/usr/local/java
JDK_HOME=$JAVA_HOME
ANT_HOME=/usr/local/ant
PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC JAVA_HOME JDK_HOME ANT_HOME
Also, java classpath may be set with "java -cp"

Q : How to find the Cron entrys path in UNIX server?
A : This sounds strange to me, "crontab -l" to see current crontab entries, cron files' location varies depending on your OS.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

why the PATH can not be set correctly?

I'm using Linux-Mandrake 8.0 in my laptop. After I logged in as a "root", I added a new path in my .bashrc file (I use bash shell). Then I can observe it has been set correctly by typing echo $PATH. But, when I log in again as a personal account, not "root", then I open my bash shell, and type... (5 Replies)
Discussion started by: yishen
5 Replies

2. IP Networking

finding the java path in AIX

How to retrieve the path of Java bin directory in AIX (or any unix OS)?? Actually my problem is, I have a jar file called App.jar. I want to execute it by calling the javaw executable. My command is "/usr/java130/javaw -jar App.jar". I've written this command into a shell script. Now,... (2 Replies)
Discussion started by: fermisoft
2 Replies

3. Solaris

set path

hi how do i change the default PATH in my system. i log in as root, and i have .profile file in my / directory. ive put the PATH=.:/usr.......... statement, but that doesnt seem to be working i also wanted to know why exactly we need the profile file in etc? (6 Replies)
Discussion started by: strider
6 Replies

4. UNIX for Dummies Questions & Answers

Set java Path

Hey eveyone, I am new to unix, and I just installed java 6, however it doesn't recognize javac command I tried to set the path such as: set path="/usr/java/jdk1.6.0_06/bin/ but i still got the same error message. any ideas? -andi (1 Reply)
Discussion started by: adtd8
1 Replies

5. Solaris

Not Able to Set the path

Hi, I want to set the path for my application so I am setting the path as below -- PATH=${PATH}:.:/envs/mldev/tools:/envs/mldev/common/tools:${HOME}:/bin/p4v:/usr/j2se:/usr/j2se/bin:/usr/j2se/lib or PATH="\ /usr/bin:\ /usr/sbin:\ /usr/dt/bin:\ ... (7 Replies)
Discussion started by: smartgupta
7 Replies

6. Programming

Java sting up path problem

Hi java programmers I'm a newbee to the Java. Could please help me to set the path correctly. I'm getting the following error. ----jGRASP exec: javac -g C:\Documents and Settings\bogugk\Desktop\HelloWorldApp.java ----jGRASP wedge2 error: command "javac" not found. ---- This command... (1 Reply)
Discussion started by: repinementer
1 Replies

7. UNIX for Dummies Questions & Answers

How do I set the path

Very new to this type of thing so go easy on me....... I have downloaded a command language for data display. It came as ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_gcc421.tar.gz and I unzipped/tarred it into my local directory. The new directory, ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_gcc421,... (7 Replies)
Discussion started by: davcra
7 Replies

8. UNIX for Dummies Questions & Answers

Path set

Something changed on my unix box. Now when I log in it is showing entire path. It used to show only $ prompt before. I know I need to do something in .profile to show only $ prompt Could you please tell me what I should do, to show only $ prompt. (4 Replies)
Discussion started by: raopatwari
4 Replies

9. Programming

Set java classes path

I add some new java jar files in the old project, how can I edit the class path? How can I compile all the java classes by just type 'C':o (3 Replies)
Discussion started by: Hscript
3 Replies

10. Programming

Java compilation problem - path not set

I am compiling the Java program in the Command Prompt then one error has appeared that you did not have set the path of java folder then I also set the path to go in the environment variables but I have the same issue. What should I do to resolve this issue? Please don't hijack others'... (4 Replies)
Discussion started by: Nancy Wilson
4 Replies
FREEMIND(1)						      General Commands Manual						       FREEMIND(1)

NAME
freemind -- A Java program for creating and viewing mindmaps. SYNOPSIS
freemind [no_options] DESCRIPTION
This manual page documents briefly the freemind command. This manual page was written for the Debian distribution because the original program does not have a manual page. Instead, it has docu- mentation as a mindmap (see Help menu in FreeMind). freemind is a program that allows to create and view so-called mindmaps, as well as export them to HTML or different image formats. It also has a plugin concept to extend its functionality. OPTIONS
This program does not have any option. Just start it! ENVIRONMENT VARIABLES
DEBUG If this environment variable is set, freemind gives more information on how it finds its different elements, as well as some other information. JAVACMD Default value for the java virtual machine (the java command). JAVA_BINDIR If $JAVACMD is not set, the java virtual machine is searched under $JAVA_BINDIR/java. JAVA_HOME If $JAVACMD and $JAVA_BINDIR are not set, the java virtual machine is searched under $JAVA_HOME/bin/java. PATH If all $JAVA... environment variables fail, the java virtual machine command (java) is searched in the $PATH (with which). CLASSPATH ADD_JARS The $CLASSPATH variable also lets one specify additional jars, which is good, if you want to add a new Look&Feel jar (the motif one is so ugly...). Alternatively, the content of $ADD_JARS will be prepended to $CLASSPATH. FREEMIND_BASE_DIR Directory where FreeMind searches for its plugins and libraries FILES
/etc/freemind/freemindrc ~/.freemind/freemindrc freemind tries to read its environment variables from /etc/freemind/freemindrc and ~/.freemind/freemindrc, so that specific set- tings are possible at machine and user level. /usr/bin/java If all searches through environment variables fail, the java virtual machine is expected to be /usr/bin/java; if not, freemind exits with an error. SEE ALSO
The online documentation under http://freemind.sf.net/, especially the Linux related one under the Wiki page link http://freemind.source- forge.net/wiki/index.php/FreeMind_on_Linux. AUTHOR
This manual page was written by Eric Lavarde deb@zorglub.s.bawue.de for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version pub- lished by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. FREEMIND(1)
All times are GMT -4. The time now is 11:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy