Why does terminal open when i log in

Discussion in 'macOS' started by desroches30, Feb 1, 2011.

  1. desroches30 macrumors newbie

    Feb 1, 2011
    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.
    set a system property
    enable verbose output
    -version print product version and exit
    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
    enable assertions
    disable assertions
    -esa | -enablesystemassertions
    enable system assertions
    -dsa | -disablesystemassertions
    disable system assertions
    load native agent library <libname>, e.g. -agentlib:hprof
    see also, -agentlib:jdwp=help and -agentlib:hprof=help
    load native agent library by full pathname
    load Java programming language agent, see java.lang.instrument
    show splash screen with specified image

    [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,

  2. smirk macrumors 6502a


    Jul 18, 2002
    Orange County, CA
    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.
  3. desroches30 thread starter macrumors newbie

    Feb 1, 2011
    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.



Share This Page