Jason Hinsperger
International and Sustaining Engineering
Adaptive Server Anywhere
At my work, we used MKS tool kit (ver5.1) on Windows. this tool kit allows
to run all unix commands at MS-DOS prompt.
Hope this helps.
--
Jason Hinsperger
International and Sustaining Engineering
Adaptive Server Anywhere
Yes.
dbisql == java (X-Windows GUI)
dbisqlc == ncurses (console)
Hence, dbisqlc will allow you to run SQL statements through the console.
# dbisql -c "uid=dba;pwd=sql" -host localhost -nogui
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as
the
value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at <Unloaded Method>
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName0(Compiled Code)
at java.lang.Class.forName(Compiled Code)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi
ronment.java:63)
at <Unloaded Method>
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName0(Compiled Code)
at java.lang.Class.forName(Compiled Code)
at java.awt.Toolkit$2.run(Toolkit.java:499)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:492)
at sybase.isql.h.a(Compiled Code)
at sybase.isql.h.c(ISQLImages.java)
at <Unloaded Method>
The Java2 runtime was initialized, but there was a problem loading the main
clas
s. The application could not be started.
Regards,
B.Alvarado.