Clueless re Java: /opt vs. /usr/local

 
Thread Tools Search this Thread
Operating Systems Linux Fedora Clueless re Java: /opt vs. /usr/local
Prev   Next
# 1  
Old 12-09-2013
Clueless re Java: /opt vs. /usr/local

It seems this is a oft debated item, that's over my head.

So here's what I've got:
Java 7 set up at /opt/ but I really want it at /usr/local...

What have I done?

Have: Debian 7 (whezzy) with gnome, so what do I do to set things back where it should be?

I guess this is a hot topic according to these two who made some good points....I'm having issue getting Hadoop happy bc I followed the /opt path for Java and I think /usr/local is what it's looking for...

http://m.linuxjournal.com/magazine/p...pt-vs-usrlocal

---------- Post updated at 02:59 PM ---------- Previous update was at 12:04 PM ----------

Think I got it, just needed to set the PATH

Can now run jpsSmilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-la

Have no idea on what the below error message is: Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist. Any help? (3 Replies)
Discussion started by: gull05
3 Replies

2. BSD

FreeBSD: /usr/bin/ld not looking in /usr/local/lib

I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries. I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble: $ ./autogen.sh checking... (2 Replies)
Discussion started by: AntumDeluge
2 Replies

3. Shell Programming and Scripting

/usr/local/bin/expr function not working

Legends, I am not able to set "expr" function in ksh script. Below is the sample code i used, and output is as "Syntax error" Please help me to come out of it. OUTPUT (9 Replies)
Discussion started by: sdosanjh
9 Replies

4. OS X (Apple)

sudo chown -R `whoami` /usr/local

I was following a tutorial on installing Homebrew and I changed the ownership of /usr/local/ to me. Now McAfee Security won't start This is the exact line I typed: sudo chown -R `whoami` /usr/local Then I tried to fix it with: sudo chown -R root /usr/local I still can't start mcafee. It say... (7 Replies)
Discussion started by: chancho
7 Replies

5. AIX

/usr/local/bin/cvs: Not found

I can able to access /usr/local/bin/cvs in the terminal (AIX 6.1 Box). but i am getting the "/usr/local/bin/cvs: Not found " when i call it from the script. please some one assist me what maybe problem (6 Replies)
Discussion started by: hifirockz
6 Replies

6. UNIX for Dummies Questions & Answers

Difference between /opt and /usr/local.

Hello Gurus, Can any one explain me the difference between /opt and /usr/local. When should we use them. Can we link with any directory in windows I mean similarity between unix and windows. (7 Replies)
Discussion started by: rama krishna
7 Replies

7. UNIX for Dummies Questions & Answers

/usr/local/lib is not searched by ld-linux.so by default?

it seems that /usr/local/lib is not searched by ld-linux.so by default in fedora14. If so, why some software put its lib files in /usr/local/lib? eg: glib and gtk+. (6 Replies)
Discussion started by: vistastar
6 Replies

8. Solaris

Questions about /usr/local/bin & scripts.

Hi gentlemen. For what intended is the directory /usr/local/bin? In this directory are some script. I don't understand how these scripts being in this directory are started. Each time after registration of the user occurs start of these scripts. These scripts start applications. (7 Replies)
Discussion started by: wolfgang
7 Replies

9. BSD

configure /usr/local/etc/be-agent.cfg

hi Howto configure Ralus at /usr/local/etc/be-agent.cfg on freeBSD 7.0 for Backup Exec 9.1? I've tried the following: # cat /usr/local/etc/be-agent.cfg name bsd.domain export / as root export /usr as usr export /var as var export /tmp as tmp force_address 10.10.1.50 tell... (0 Replies)
Discussion started by: ccc
0 Replies

10. Programming

/usr/bin/ld: warning: libgfortran.so.1, needed by /opt/openmpi/lib/libmpi_f90.so, may

hello, i get these warnings on make(ing) /usr/bin/ld: warning: libgfortran.so.1, needed by /opt/openmpi/lib/libmpi_f90.so, may conflict with libgfortran.so.3 /usr/bin/ld: warning: libgfortran.so.1, needed by /usr/lib/gcc/x86_64-redhat-linux6E/4.3.2/../../../liblapack.a, may conflict with... (1 Reply)
Discussion started by: sreekar
1 Replies
Login or Register to Ask a Question
JLEX(1) 						      General Commands Manual							   JLEX(1)

NAME
jlex - lexical analyser generator for Java(tm) SYNOPSIS
jlex specfile DESCRIPTION
JLex takes the language specification in specfile and generates Java(tm) source code for a lexical analyser corresponding to the specifica- tion. The lexical analyzer source code is placed in a file whose name is the name of the JLex specification file, with the string ".java" added to the end. For example, if the JLex specification file is called foo.lex, the lexical analyzer source code file that JLex produces will be called foo.lex.java.) The resulting lexical analyzer source code should be compiled with a Java compiler. This produces a lexical analyzer class file, which can then be used in your application. If the default settings have not been changed, the lexical analyzer class will be called Yylex and the class files will named Yylex.class and Yytoken.class. For more information, see the JLex manual in /usr/share/doc/jlex/manual.html. SEE ALSO
/usr/share/doc/jlex/manual.html, /usr/share/doc/jlex/bugs.html, /usr/share/doc/jlex/README. DIAGNOSTICS
jlex produces diagnostic output to inform you of its progress. BUGS
See /usr/share/doc/jlex/bugs.html for information about known bugs in JLex. Please report bugs in the Debian version of JLex to the Debian bug tracking system in the first instance. Otherwise, please contact A. Appel <appel@princeton.edu>. AUTHOR
JLex was written by Elliot Joel Berk at Princeton University. It is now maintained by C. Scott Ananian. This manual page was written by Charles Briscoe-Smith <cpbs@debian.org>, modified by Colin Watson <cjwatson@debian.org>, and is hereby con- tributed to the Public Domain. Please see the file /usr/share/doc/jlex/copyright for more information. TRADEMARK ACKNOWLEDGEMENTS
"Java" is a trademark or registered trademark of Sun Microsystems, Inc. 6 Aug 2001 JLEX(1)