seeking advice regarding strange post found in TERMINAL

Sky


Joined
Aug 21, 2011
Messages
3
Reaction score
0
Points
1
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]
 
Joined
May 22, 2005
Messages
2,159
Reaction score
67
Points
48
Location
Closer than you think.
Your Mac's Specs
Performa 6116 2GBSCSI 8MB OS 7.5.3
Look at the Terminal's Preferences.

Settings > Shell > Startup

Is there anything there?
 
OP
S

Sky


Joined
Aug 21, 2011
Messages
3
Reaction score
0
Points
1
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:)
 
Joined
May 22, 2005
Messages
2,159
Reaction score
67
Points
48
Location
Closer than you think.
Your Mac's Specs
Performa 6116 2GBSCSI 8MB OS 7.5.3
Try deleting

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

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
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.
 
OP
S

Sky


Joined
Aug 21, 2011
Messages
3
Reaction score
0
Points
1
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
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
You're deleting the wrong one - you need to go to your home directory > Library > Preferences to get the plist.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top