Avoid Plot return the text "-Graphics-"?

Hi,
New Mathematica user here. My output is not a graph, but the text “-Graphics-”. I’m running Win10 64bit system. My suspicion is it’s related to the laptop capabilities.

Example:

In[1]:= Plot[{Sin[x], Sin[x]^2}, {x, -2 Pi, 2 Pi}]

Out[1]= -Graphics-

Help…

Hi Faith,

It may be due to your settings. See if this fixes the problem:

My Edit menu is limited to “Copy”, “Paste”, “Font”, and “Interrupt”. I’ve searched and have been unsuccessful in accessing this menu option. Looking for the decoder to access the settings menu.

Daniel,

Found it (it’s buried). However, my settings are the same as referenced in your link. Any other ideas?

Faith

Are you running Mathematica on a Raspberry Pi?

You are running the kernel directly (aka the “command-line interface”). Appearance of graphics requires the user interface (aka “front end”) as well. Alternatively, load

<<JavaGraphics`

before plotting. It will render plots in a pop-up window.

I am running the kernal file (i believe). How do I access the front end? I loaded java graphics but no luck.

In Windows 10:

Start → All apps → Wolfram Mathematica → Wolfram Mathematica 11

Not sure if this will help, but maybe try quitting kernel, restarting, then immediately do

<<JavaGraphics`

I seem to recall having some trouble when I loaded it after having computed a Plot. Not sure this will solve the problem though.
An indication of how one might do this is given by @Valeriu Ungureanu.