Results 1 to 7 of 7
  1. #1


    Member Since
    Aug 21, 2011
    Posts
    3
    seeking advice regarding strange post found in TERMINAL
    Thank you for accepting me into your community…I love my MAC but I do not understand why TERMINAL suddenly appeared open with commands….

    The commands posted below are more important than the ones posted yesterday.

    Please let me know if the message below expressed in TERMINAL means that someone has hacked in to my MacBook Pro. Please advise on procedures to follow.

    ********

    Last login: Sun Aug 21 19:00:09 on console
    /System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java ; exit;
    Sky:~ xxxxxxxxxxxxxxx$ /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]

  2. #2

    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    Look at the Terminal's Preferences.

    Settings > Shell > Startup

    Is there anything there?

  3. #3


    Member Since
    Aug 21, 2011
    Posts
    3
    Thank you for responding to my concern:

    Start up
    (ticked) Run Command: bash
    also selected is: Run Inside shell

    When the shell exists:
    Don't close this window

    Prompt before closing:
    (radio button) Only if there are other processes other than:
    rlogin
    telnet
    ssh
    slogin

    Kind regards

  4. #4

    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    Try deleting

    ~/Library/Preferences/com.apple.Terminal.plist

  5. #5

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,745
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Just to ease your concerns, the output tells us that something is trying to execute the Java runtime but isn't telling it to run anything specific. As such, the Java runtime is complaining that it was told to run but wasn't told what to execute.

    What applications have you installed lately? It's possible that something uses Java to function properly.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  6. #6


    Member Since
    Aug 21, 2011
    Posts
    3
    Thank you VanSmith for addressing my concern: I use open office that is Java baesd, and I had installed a scanner program that I deleted upon reading your post. Other than that I have only installed two bluetooth items a new Mac Keyboard and Mouse.
    Also I have tried to delete using terminal ~/Library/Preferences/com.apple.Terminal.plist but reply said that I did not have permission.

    Thanks, Sky

  7. #7

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,745
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    You're deleting the wrong one - you need to go to your home directory > Library > Preferences to get the plist.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Buying my first macbook. Seeking advice
    By kevdawg86 in forum Apple Notebooks
    Replies: 3
    Last Post: 04-12-2015, 11:37 PM
  2. Seeking Advice: Webcam
    By Marrk in forum Other Hardware and Peripherals
    Replies: 1
    Last Post: 04-24-2012, 12:50 AM
  3. Seeking Advice: Acrobat X?
    By Marrk in forum Apple Notebooks
    Replies: 0
    Last Post: 06-05-2011, 09:15 PM
  4. User seeking advice!
    By majdeegans in forum Apple Notebooks
    Replies: 7
    Last Post: 05-11-2011, 05:54 PM
  5. Seeking Purchase/Switching Advice
    By NMIke in forum Switcher Hangout
    Replies: 4
    Last Post: 12-21-2006, 06:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •