Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

desroches30

macrumors newbie
Original poster
Feb 1, 2011
2
0
Hi,
In the past few days, terminal opens every time I open my Macbook. It used to write that I had problems with a file in /System/Library/Frameworks/Java something. So, since my GF and I both have the same computer, I took her file and replaced it with mine. I rebooted and now it writes as follows:


Marc-Desrochess-MacBook:~ Desroches30$ /System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java ; exit;
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)

where options include:
-d32 use a 32-bit data model if available
-d64 use a 64-bit data model if available (implies -server, only for x86_64)
-client to select the "client" VM
-server to select the "server" VM
-jvm is a synonym for the "client" VM [deprecated]
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.

-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A : separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image
logout

[Process completed]







Everything seems to be working fine I'd just want to know if there is something I can do to fix this.

Thanks for your time,

Marc
 
Terminal shouldn't just launch by itself whenever you log in. Maybe you have a java application set to auto-launch, and something's malfunctioning with it.

Open System Preferences, then click on the Accounts icon. Select your user account from the list on the left, then click the "Login Items" button on the top right. Take a look at the items in the list; those automatically run whenever you log in. On my system, I have an iTunes item, a VMWare item, and some HP printer driver things. Maybe you have something that you're not using anymore in your list that is erroring out. It's hard to say from the description you gave what specifically is causing this. I don't understand why Terminal would launch itself and give messages about running Java, that's really strange.
 
I had Java (Unix App) that launched at log in as well as Itunes Helper (dont know if it is useful)... I dont know how it got there. So I removed Java and now Terminal does not open at log in anymore.

Thanks,

Marc
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.