Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. chz013

    C network programming compile questions

    Ranganath thanks for your response/help. you're right about the options.
  2. chz013

    C network programming compile questions

    Following code is shown: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> int main(int argc,char **argv) { int z; /* Status return code */ int s[2]; /* Pair of...
  3. chz013

    /etc/services and inetd.conf

    Hi I have a server code that listens on port 3000 and I have in /etc/services test_server 3000/tcp and in /etc/inetd.conf test_server stream tcp nowait root /usr/mlc/tools/server I rebooted the Solaris box and when it's up, I tried telnetting from a different host to this server host...
  4. chz013

    jdbc

    prosper thanks for your response
  5. chz013

    jdbc

    import java.awt.*; import java.awt.event.*; import java.io.*; import java.util.*; import javax.swing.*; import javax.swing.event.*; import java.sql.*; public class updateCronFiles { public updateCronFiles() throws Exception { try { System.out.println(&quot;Hi &quot;)...
  6. chz013

    invoke script from Swing - How

    does &quot;which bash&quot; return /usr/bin/bash on the OS console ? A- Yes Can you run the command (ie EXACT command) from the console ? A- Yes I can. it shows Hello World ! Are you running the test using the same user as you are from the java app ? A- Yes. I'm the root user
  7. chz013

    invoke script from Swing - How

    JavaDude Thanks for your response Yeah I'm 100% sure
  8. chz013

    invoke script from Swing - How

    I tried again and I got the following trace: test file is there but I'm not sure why it's complaining. Anyone with any suggestions? Fully appreciated ================================================ dial in updateCron in StatConfigGUI java.io.IOException: /usr/bin/bash /wongz/scripts/test: not...
  9. chz013

    invoke script from Swing - How

    Even when I change to else if (&quot;Dial&quot;.equals(actionCommand)) { try { String[] cmd = new String[1]; cmd[0] = &quot;/usr/bin/bash /wongz/scripts/test&quot;; Runtime rt = Runtime.getRuntime(); Process proc = rt.exec(cmd); System.out.println(cmd)...
  10. chz013

    invoke script from Swing - How

    sedj thanks for the response. But I still have the problem else if (&quot;Dial&quot;.equals(actionCommand)) { try { String[] cmd = {&quot;/usr/bin/bash&quot;, &quot;/wongz/scripts/test&quot;}; Runtime.getRuntime().exec(cmd); } catch ( java.lang.Exception f ) {...
  11. chz013

    invoke script from Swing - How

    Hi I like to automate a dial-up process from unix with GUI as the front-end for a user. Is anyone willing to share on how I could achieve that ? I'm not sure how in actionPerformed(ActionEvent e) implementation that I could invoke this script to dial-up from unix via modem to a remote access...
  12. chz013

    A message queue created by a task o

    A message queue created by a task on a server on IP address 192.168.1.1; I like to write a java client application (on IP address 192.168.1.2); 1 - how is JMS different from the message queue created by a Solaris task ? 2 - I need help/guidance on how to read messages in message queue, which is...
  13. chz013

    message queue and Java

    Sedj, thanks for your response. appreciate it. 1 - how is JMS different from the message queue created by a Solaris task ? 2 - I need help/guidance on how to read messages in message queue, which is created by a Solaris task, and send them to display these messages on Java GUI. How exactly do I...
  14. chz013

    java registry problem

    thanks for the response Ion but exactly how do I change current version in the registry ?
  15. chz013

    java registry problem

    I have the msg C:\Documents and Settings\test>java -version Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion' has value '1.2', but '1.4' is required. Error: could not find java.dll Error: could not find Java 2 Runtime Environment. and I cant run a java program. What is...
  16. chz013

    message queue and Java

    A message queue created by a task on a server on IP address 192.168.1.1; I like to write a java client application (on IP address 192.168.1.2); 1 - What's the basic concept of using message queue ? 2 - is there a code example on java network programming where I could retrieve message from the...
  17. chz013

    shell script or awk for automated fields checking ? need help

    I have a record that is like this below; records like this are delimited by --- lines; I need to write a bash script that automatically checks for almost all the fields defined on each row; 1- Is it difficult to write a shell script that processes these records and checks each field in each...
  18. chz013

    shell script or awk for automated fields checking.

    I have a record that is like this below; records like this are delimited by --- lines; I need to write a bash script that automatically checks for almost all the fields defined on each row; 1- Is it difficult to write a shell script that processes these records and checks each field in each...
  19. chz013

    embedded programming on Linux

    Hi I like to learn embedded programming with Linux on a mobile phone. Could someone point to me where I do that ? I'm a newbie to programming on embedded device. Is there a cheap way ($ wise to purchase hardware) to learn embedded programming on Linux and other platforms. Are there hard...
  20. chz013

    embedded programming

    Hi I like to learn embedded programming with Linux on a mobile phone. Could someone point to me where I do that ? I'm a newbie to programming on embedded device. Is there a cheap way ($ wise to purchase hardware) to learn embedded programming on Linux and other platforms. Are there hard...

Part and Inventory Search

Back
Top