How can I RUN JAVAWS command line in text-mode Linux environment? - java-web-start

I want to RUN JAVAWS command line in text-mode Linux environment and I have not X.
Is it possible?
Tanx

How about javaws -wait -Xnosplash -import -silent http://...
After this maybe you can help me with Are javaws exit codes really broken?

Related

VSCode asdf-vm command no such file or directory

Specs
VSCode 1.63.2
Homebrew 3.3.10
asdf 0.9.0
MacOS Monterey
Problem
I installed asdf via Homebrew as per doc http://asdf-vm.com/guide/getting-started.html#_3-install-asdf
The asdf command works well in my iTerm. However, it didn't work when committing or pushing via VScode terminal and VSCode source control.
The error from VSCode terminal
Unknown command: `asdf exec npm run pre-commit`
/usr/local/Cellar/asdf/0.9.0/libexec/bin/asdf: line 82: /usr/local/opt/asdf/lib/commands/command-help.bash: No such file or directory
And this below from VSCode source control
The error I got in output.
> git push origin feature/my-branch
Unknown command: `asdf exec npm run pre-commit`
/usr/local/Cellar/asdf/0.9.0/libexec/bin/asdf: line 82: /usr/local/opt/asdf/lib/commands/command-help.bash: No such file or directory
Running asdf exec npm run pre-commit in my iTerm works well. There must be different configuration between zsh in iTerm vs in VSCode. 🤔
My attempt so far is to add this configuration in VSCode settings.json
"terminal.external.osxExec": "iTerm.app",
"terminal.integrated.defaultProfile.osx": "zsh"
but still not working
My ~/.zshrc setup for asdf
. /usr/local/opt/asdf/libexec/asdf.sh
What is the possible cause here?
Found dubious decision
I also dont have commands folder in asdf/lib
So I copied the same from asdf/libexec/lib
And it worked

How do I start a browser in Ubuntu on a PC?

Can anyone help me figure out why I cannot start my browser through the Ubuntu command line prompt. My instructor plainly says to use the command "start example.html" (I'm on PC), but when I attempt it I keep getting "Command 'start' not found, did you mean":
command 'smart' from deb smartpm-core
command 'stat' from deb coreutils
command 'startx' from deb xinit
command 'tart' from deb tart
command 'rstart' from deb x11-session-utils
command 'kstart' from deb kde-runtime
Try: sudo apt install
Just type:
firefox
In the terminal
Entering explorer.exe . into the command line allowed me to then set Chrome as the default browser for my work

Spyder not showing stderr output in IPython console when running commands with os.system

Setup: MacOS High Sierra, Spyder 3.3.1, Python 2.7.15 64bits, Qt 5.9.4, PyQt5 5.9.2 on Darwin
I run the following code in the IPython console within Spyder:
In [1]: import os
In [2]: os.system("ls")
Out[2]: 0
In [3]: os.system("aasdasd")
Out[3]: 32512
I can see the output to stdout of the ls command in the bash shell where I run spyder, but not to stderr of the second os.system call that should print sh: asdasd: command not found.
Where does spyder redirect stderr to? Is there a way to see error messages like the one generated in the second case?
Thank you very much!
(Spyder maintainer here) This was fixed in spyder-kernels 0.3.0, the package that provides kernels for our consoles. And by fixed I mean that both stdout and stderr of external commands are now shown directly in our IPython consoles.
To update spyder-kernels, please close Spyder and run in a system terminal (xterm or Terminal.app, this doesn't work on Windows):
conda install spyder-kernels=0.*
if you use Anaconda (it's not available at the moment, but it should be shortly, please wait until it is), or
pip install spyder-kernels==0.*
if you use a custom Python installation.

Intalling pg-trajectory on windows

I am trying to install pg-trajectory on windows through mingw command window and while entering this line
$ mingw32-make PG_CONFIG=E:\PostgreSQL\9.5\bin\pg_config.exe
I am encountering this error:
Process_begin: CreateProcess(NULL, E:PostgresSQL9.5binpg_config.exe –pgxs, …) failed
Mingw32-make: *** No targets. Stop.
Is there is an alternative or solution to this? Kindly inform me
Download library from source: https://bitbucket.org/gsudmlab/pg-trajectory
Execute pg_trajectory--0.0.1.sql file.
To execute, you can copy it and paste to psql or use command \q pg_trajectory--0.0.1.sql
Make sure you installed pre-requisite (PostGIS).
Alternatively, install.sh script should work as well.

Source Tree - Uninstall Command Line Tools (stree)

How do I uninstall the Command Line Tools I installed when pressing 'Install Command Line Tools' in Source Tree? (OS X)
Presumably execute this command at the command line: rm /usr/local/bin/stree. As far as I can tell, this is the only command line tool that gets installed.