Sponsored Content
Full Discussion: First Java Application
Top Forums Programming First Java Application Post 302472578 by Corona688 on Wednesday 17th of November 2010 01:12:41 PM
Old 11-17-2010
Here's some sample code that might help. If you're still familiarizing yourself with SQL as well, you might also find use in this reference.

[edit] On reread, whoa. Why are you making a database connection if you want to run shell commands? No wonder you're at a roadblock. Try a SSH connection.
 

5 More Discussions You Might Find Interesting

1. Solaris

Java application getting killed automatically in Solaris

Hi to all, I have developed a Java application for Solaris 10. I am uing JDK 5. But it is getting killed after some time. And at the terminal, I got message as Killed. I am new to Solaris. Can anybody help me? (3 Replies)
Discussion started by: ashish.nijai
3 Replies

2. Programming

Ping remote UNIX machine from a java application

Hi Friends, Can some one please guide me on how to make a script run on a remote UNIX machine from a java application. Or may if you can just tell me how do u ping to the remote UNIX machine using java code. Been looking for the solution since 5-6 hrs, didn't got any where near :( Thanks. (1 Reply)
Discussion started by: Sanjay MD
1 Replies

3. UNIX and Linux Applications

sun java application server 8.2

i had a confusion on the installed directory of my application server a. if I create a domain w/o putting in directory, the domain automatically goes to /var/appserver/domains directory. I need it to be under /opt/SUNWappserver/domains.. If I will include this in domain creation, may logs are... (0 Replies)
Discussion started by: lhareigh890
0 Replies

4. Programming

Java application dying randomly

Hi, (First post, please be gental!) I have a java app that I am running on unix (centos) But it keeps dying randomly. The times seem random from anything between 3 hours and 3 days. I have a cronjob running to restart it when ever it dies but I would rather this happened less often. ... (2 Replies)
Discussion started by: sm9ai
2 Replies

5. Solaris

Java Application slowness with Xmanager

Hi! I have a m3000 server with solaris 10. Clients connecting to server using Xmanager. But when they open a Java based application its very slow and some times hanging. But when I tried with VNC it works fine. Is this a BUG in Xmanager? Or Is there any method to solve this? Thanks, Charith (3 Replies)
Discussion started by: charith.upendra
3 Replies
BJDWP(1)						      General Commands Manual							  BJDWP(1)

NAME
bjdwp - Command line USB Blackberry Java Debug Wire Protocol SYNOPSIS
bjdwp [-h][-p pin][-P password][-v] address port DESCRIPTION
bjdwp is a program that supports the Java Debug Wire Protocol over USB, which enables debugging of Java programs directly on your Black- berry. Support is experimental, and development is focused primarily on the BlackBerry Storm. OPTIONS
-p pin PIN of device to talk with. Only needed if you have more than one Blackberry connected at once. -P password Simplistic method to specify device password. In a real application, this would be done using a more secure prompt. -v Dump verbose protocol data during operation. -h, --help Show summary of options. ARGUMENTS
The following arguments are required, in order to provide a socket where the JDWP server will listen for connections from the debugger. address Most often 'localhost' but can be any IP or hostname on the machine running bjdwp. port Port to listen on. EXAMPLES
Start the server and the USB connection to the device: bjdwp localhost 8000 Then start your java debugger: jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8000 AUTHOR
bjdwp was initially written for the Barry project by Nicolas VIVIEN. This manual page was written by Chris Frey. SEE ALSO
http://www.netdirect.ca/software/packages/barry September 29, 2009 BJDWP(1)
All times are GMT -4. The time now is 01:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy