Sponsored Content
Full Discussion: Java and Javac problems
Operating Systems Solaris Java and Javac problems Post 302714839 by jim mcnamara on Saturday 13th of October 2012 12:07:17 AM
Old 10-13-2012
Windows is derived from UNIX, and has an interface that will not let you see most of what is underneath, without expensive tools or lots of knowledge. Solaris does not have that. Plus it looks like you may have done some kind of non-standard install of java.


Consider this carefully:

Put Solaris on hold for a few months.

Use Windows to run interference for you until you are a lot more comfortable with base UNIX.

Here is what I would do. Download and Install cygwin. You install it as an add on to Windows. I have a copy of UNIX as cygwin on my work desktop computer, it is useful.

Cygwin

Everytime you want a piece of software for cygwin, the download lets the installer put it up for you. Just like Windows. And it is all free. Not like Windows. This way it is harder to shoot yourself in the foot.

After you play with cygwin for a while, consider installing a dual boot of Ubuntu on the same windows box. Ubuntu (a kind of Linux) is meant for transitioning from Windows to UNIX. Solaris is very much not meant for that. The motivation for Ubuntu was to make it really simple for Windows users to avail themselves of the huge opensource software selection. If you are really computer conversant, go straight to Ubuntu if you want.

http://www.ubuntu.com/download/desktop

I manage 4 $100K Solaris M4000 boxes, each with about a dozen virtual computers (zones) in them which is 48 Solaris computers. I've been doing UNIX since the late 1970's and still encounter stuff I do not know. Cygwin/Ubuntu is made to isolate the user from all that.

So change course for a while. If you don't like my idea you will have to do a lot of learning, reading, and fiddling before your frustration level with Solaris goes away.
This User Gave Thanks to jim mcnamara For This Post:
 

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

piping with javac command

how to i use javac on a file after searching for it? example: find . -name '*.java' -size -24 -links -2 -atime -4 what would happen if "find" found >1 .java files? also, i'm a little confused on the -size property... mix up between -2 and +2... what's the difference? (1 Reply)
Discussion started by: quipy
1 Replies

2. UNIX for Dummies Questions & Answers

Installing Java Problems

Hello, When i attempt to install Java. I get this error code Can someone tell me what im doing wrong. (2 Replies)
Discussion started by: Fob Upset
2 Replies

3. Programming

set javac classpath

I have several jar files in a specific folder, but I can't get javac to understand it. How do I set the classpath for javac. It is NOT the same classpath as the java command. And it's not enough with one jar file. I have several. (1 Reply)
Discussion started by: locoroco
1 Replies
AIRPORT2-CONFIG(1)					      General Commands Manual						AIRPORT2-CONFIG(1)

NAME
airport2-config - Configurator for the Apple AirPort Extreme Base Station ("Snow") SYNOPSIS
airport2-config DESCRIPTION
airport2-config allows you to manage your AirPort base station, just like the AirPort software on Mac OS X. OPTIONS
airport2-config accepts no command-line options. airport2-config is a wrapper script around the Airport2BaseStationConfigurator.jar jar file located in /usr/share/java/airport-utils. You can set the JAVACMD environment variable to use a specific JVM instead of the one chosen by the wrapper script. Set the DEBUG environ- ment variable to 1 to get the debug output from the wrapper script. ENVIRONMENT VARIABLES
DEBUG Set this variable to 1 to get the debug output from the wrapper script. JAVACMD The full path to the Java Virtual Machine to use. By default, the wrapper uses JAVACMD; if it is not set, it looks for JAVA_BINDIR/java, then for JAVA_HOME/bin/java before looking for a java executable in the PATH. In the latter case, the JVM used can be configured using the Debian alternatives system (see update-alternatives(8)). JAVA_HOME The full path where your JDK/JRE is installed. JAVA_BINDIR The full path to the directory where the java executable is located. JAVA_ARGS Extra command-line arguments to be passed to the Java Virtual Machine. AUTHOR
airport2-config was written by Jon Sevy <jsevy@cs.drexel.edu>. This manual page was written by Julien BLACHE <jblache@debian.org>, for the Debian project (but may be used by others). May 20, 2006 AIRPORT2-CONFIG(1)
All times are GMT -4. The time now is 11:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy