Programming :: Java Program To Display All IP Addresses In LAN?

Feb 25, 2011

I Want to Develop Network Scanner Software. For that i need "Java Program to Display All IP Addresses in LAN".

View 3 Replies


ADVERTISEMENT

Programming :: Java Program To Display IP Address And Host Names In Wireless?

Feb 25, 2011

"Java Program to Display IP Address and Host Names in Wireless".

View 7 Replies View Related

Programming :: Sort IP Addresses For A Bash Program?

Apr 29, 2010

I have for example the following IP addresses:

24.172.220.218
41.239.36.19
63.215.202.234
66.176.124.22

[code]....

How can I sort those IP addresses? I want to sort them using the first 3 numbers I also want to count the number of times that address is repeated This is a batch program.

View 4 Replies View Related

Programming :: Debug Remotely A Java Program With Ddd?

Jun 4, 2011

Is it possible to debug remotely a java program with ddd (data display debugger)?

View 2 Replies View Related

Programming :: Java Program Sshing To Server?

Aug 12, 2010

I am trying to write a java program and eventually a web app to do the following.1. get the server name, username, password from the user and ssh to the linux box.2. goto a folder, open a script file (the file has different function calls, I need to comment all other function calls and just un-comment the one I want to use)

#call_1
call_2
#call_3

[code]....

View 1 Replies View Related

Programming :: Restart The Program Execution - Java

May 3, 2011

In gui validation if user enters string in integer requiring field, a dialog box pops out. So on clicking the button i want to stop the program execution and return to the previous jframe(either the same one or newly created object of it).

How can i handle this in java.
I tried calling main(); but it doesn't work.
Also System.exit(0); doensn't work.

View 1 Replies View Related

Programming :: Encryption And Decryption Program In Java And Using RSA Algorithm?

Feb 25, 2011

i need a program for Encryption and Decryption using RSA algorithm in JAVA ..

View 9 Replies View Related

Programming :: Small Java Program To Manage 2 Apartments?

Feb 17, 2011

this is my first post and I would like to get some help from you , so what should be the answer for this question ?:::::::::::::the question::::::::::::::::THE UNIVERSITY APARTMENTSThe University Apartments provides apartment rental to university students at affordable rates, with optional facilities:Apartment Type A, 2 bedrooms and equiped with kitchen and laundry facilities. The monthly rental for the rooms in this apartment type is RM300.Apartment Type B, 3 bedrooms includes one master bedroom with attached bathroom but does not have kitchen and laundry facilities. The monthly rental for the rooms in this apartment type is RM200 and students staying in the master bedroom will be paying an additional 40%.

Each apartment may house a maximum of 3 students. Students are required to check out from the apartment unit when the current semester ends.Create an application to manage the university apartments rental:1. Register new student and assign apartment moduleRegister and assigns an apartment to the student for 140 days from the date of registration. The module should retrieve the date automatically from the system clock and calculates the expiry date for the apartment rental. Before an apartment is assigned, the system should allow the selection of the type of apartment (i.e. Type A or B), then check for the number of occupants in the apartment. If the apartment already housed 3 students, it should recommend another apartment unit that is still available. Upon registration, student should pay a RM100 for the utility charges, rental deposit for one month and the rental for the current month.

2. Update apartment status moduleWhen a student moves out from an apartment, the apartment status is updated.3. Reporting moduleGenerates a report of apartments with full occupancy and another report for apartments where rooms are still available. 4. Search module Enable the administrator to search for a student's apartment unit using the student id as the search key. The search result should produce the student�s information and the details of the apartment that the student is staying in.The application should be developed using object-oriented concepts using Student class and Apartment class, implementing the appropriate data fields and methods for the classes. Data may be stored in collections i.e

View 10 Replies View Related

Programming :: Where To Download To Learn / Program Java For System?

Oct 5, 2009

I went to the sun website but all I see are upgrades to JDK 6, I dont see where to download the actual JDK.

Anyone know where I can download the JDK for Linux?

View 9 Replies View Related

Debian Programming :: Memory Usage When Running Java Program

Jun 28, 2013

I have a java program that runs on Debian as a background processor. Yesterday the Java program stopped running. I looked at the memory usage, the system only had 5MB memory left, so my guess is that the java program ran out of memory to use.

However, after we restarted the java program, we could see that the free memory count started to go up. It kept going up from 5MB to over 400MB. The increase of memory happened slowly, when I measured it, I could see that with each minute passing by, there were a bit more memory added into the free memory pool, and meanwhile, the java background process was running.

I wonder why this would ever happen. It's as if our java program first brought the machine done because it consumed all the memories, then after restart, it starts to give back memories.

View 2 Replies View Related

Programming :: Using Java Runtime - Program Which Simply Calculates The Load Average Of A Process

Feb 10, 2011

I'm new to the linux world and its been quit sometime since i've done any programming. However, I'm writing a program which simply calculates the load average of a process. In doing this I need to use the uptime command for linux in a java program. I've done a little bit of searching on the net and it mentions this is possiable by using java runtime command. Unfortunatly though I have yet to find a working example of this. I've tried just simply reading the /proc/uptime file but I have no clue how to format the 2 numbers in seconds to make it the same as if you just typed in uptime in the linux command prompt.

View 2 Replies View Related

Ubuntu Servers :: Display The Addresses That Have Been Issued By My Dhcp3?

Jan 1, 2011

I want to display the associated host name with each address.

I've found the /var/lib/dhcp3/dhcpd.leases file, but it appears to have an entry for every time a lease was issued so it's hard to tell which ones are currently active.

View 3 Replies View Related

General :: Display Status Of Assigned & Free Ip Addresses In A DHCP Range?

Jul 24, 2010

how to display status of assigned & free ip addresses in a DHCP range assuming that i am working on a DHCP server ?

View 1 Replies View Related

General :: Connect A Jsp Program With A Java Program?

Apr 30, 2010

I have a jsp code. After executing that code, a Java program should be executed without refreshing the page. that is, my first page is a login page which is in jsp. After logging in the next page must be displayed which is a Java code. is that possible? Can we use applet for that?

View 1 Replies View Related

Programming :: Get Only Ip Addresses & Send It To 3 Files?

May 7, 2010

have a file (called it A) contains;

hostname 192.168.23.65
hostname 10.18.13.253
hostname 10.18.16.253
hostname 177.23.56.58

how can i write a script to get only ip addresses & send it to 3 files with the following info. only:

file1:
192.168.0.0
file2:
10.18.0.0
file3:
177.23.0.0

by creating the 3 files then i will be able to set up subnetmask, gw,....etc.

View 2 Replies View Related

Programming :: Bash To Monitor IP Addresses In A Txt File?

Oct 13, 2010

This code uses ping to check connectivity to a remote location and logs it to a .html file which is then stylized by css..

Code:

#! /bin/bash
path="$HOME/Desktop/IP_Monitor" #Path to write out files
ALT="0" #For styling alternative row

[code]....

I need to add a feature such that instead of hardcoding the ip address .. it takes them from a list and makes new files for each ip address for logging.. And also when log files are completed , They should be compressed using tar. How should i go about adding both these.. This is my first bash script.

View 6 Replies View Related

Programming :: Comparing Two IP Addresses - Specific / Restricted

Mar 25, 2011

I want to compare 2 IP addresses, so that I may compare which is more/less "specific" or "restricted" than the other. So is there any function/library that may help in doing this comparison in C (on Ubuntu 10.10)?

View 1 Replies View Related

Software :: Trying To Run Java Program ?

Mar 25, 2011

I have a problem starting a java program.

I installed and am trying to run Antelope an ant file editor. When I try to start antelope I get the trace-back listed below.

When I first tried to start Antelope it asked me where ant/lib was located. I pointed it to /usr/share/ant/lib which has 3 jar files named ant.jar ant-bootstrap.jar and ant-launcher.jar.

I am running in Fedora14. With java version "1.6.0_20"

OpenJDK Runtime Environment (IcedTea6 1.9.7) (fedora-52.1.9.7.fc14-i386)

OpenJDK Client VM (build 19.0-b09, mixed mode) and javac 1.6.0_20

When I try to start it I get

Code:

I have tried it 2 ways, one with the environment variable ANT_HOME set to /use/share/ant/lib - which has some 3 jar files - and also to /home/knox/apache-ant-1.8.2/lib which has about 25 jar files. Same error message both ways.

View 15 Replies View Related

Programming :: Ping IP Addresses Using Bash (Online Or Unavailable)

Jun 14, 2011

I am new to linux and am trying to write a script that will ping IP addresses and say either online or unavailable.

View 3 Replies View Related

Fedora :: Run A Jar (java) Written Program?

Apr 28, 2010

Trying to use the html editor 'Arachnophilia'... here are the instructions on their website. ".Open a command console (Linux: shell console), move to the Arachnophilia program directory, type "java -jar Arachnophilia.jar" For convenience, this command can be made part of a shell script, and those using X windows can easily make a desktop icon." hoping someone can explain how to run this program.. using a new install of fedora 12 (which has java)...i'm a newbie, trying to go open source on a low end laptop - LOVE Fedora .[URL]..

View 14 Replies View Related

General :: Install Java Or Any Other Program?

Apr 27, 2010

I just got linux yesterday, ubuntu 9.1, with the wubi installer. I have no previous knowledge of linux and I am having a very hard time working out how to install or run any programs, at the moment I'm trying to get java to work.

View 4 Replies View Related

General :: Run Commands Using A Java Program?

Apr 9, 2010

I want to execute Linux commands using a Java program. I came to know that we can use Runtime.getRuntime().exec("commands") to execute the commands through the program. I'm new to both Linux and Java.

View 2 Replies View Related

Programming :: Faking IP Addresses To Test Servers On Internal Network

Jun 9, 2009

I'm in the process of setting up a script in perl to make 1,000's of curl calls to my companies application on our test server. Our software does all sorts of tracking of data based on IP addresses using geoIP, so i was wondering if anyone knew of a way to fake these addresses to the server?I know a big issue with the IP faking is the return path but i dont really need this. I also cant do it on the hardware level since the script is going to be picking lots of different IP's at random.Anyone have any idea if this is possible and if so, are there any known libraries i can use for this? I prefer perl but any Linux compatiblie scripting language is fine.

View 1 Replies View Related

Fedora :: Open A Java Program In Foreground

May 25, 2010

I have a java program with gui. I want to start this program in the start of system (rc3.d) and when I connect to the machine bring to front without open another time the program. I want to connect to opened program in the start of system.

View 1 Replies View Related

Installation :: Install Java Program On Ubuntu?

May 9, 2010

How can i do Java programming on ubuntu.
i mean how to install java on ubuntu.
i tried but fail to install jdk.

View 1 Replies View Related

Ubuntu :: Make Shortcut To Java Program?

Sep 15, 2010

How to make a shortcut to a program?

It's a Java program started by a shell script

#!bin/sh
java -jar LinShredder.jar

It starts okay in its original folder, but when I link to it from e.g. the desktop it doesn't work.

View 9 Replies View Related

Ubuntu Servers :: Force Java Program To Use More CPU

Mar 23, 2011

I have ubunto 10_4 X86-64 (I use putty to connect)
installed apps
screen
mysql server-client
my java program
open jdk* 64bit
apanche2 (the web server stuff)
and its aVPS machine
Xeon 2.0 64bit 4 GB ram

How can I make (or force) my java program to use more then 1 core? I would like it to be using just 5 of the 6 that I have. I use a .sh to run it this is the code for it.
Code:
#!/bin/bash
cd "${0%/*}"; java -Xshare:auto -Xmx2662M -jar craft.jar

View 5 Replies View Related

Ubuntu :: Execute A Java Program Without Ssh Connection

May 9, 2011

I would like that my java program continues executing when I close the ssh connection, how can I do that? I suppose I have to create a service, but I have no idea how to do it!

View 3 Replies View Related

General :: CentOs Java Program Doesnt Pop Up?

Jul 24, 2011

So this picture will explain [URL].. So after i typejj java -jar RSBot-257.jar it should have to come ijj up.It doesent show any errors but doesent start.What to do?

View 1 Replies View Related

General :: Restart PADS From Java Program

Jul 7, 2010

I am facing problems to restart PADS(Passive asset detection system) from java program.I used the root as a user. So from the command prompt I can start PADS with out sudo ,but when I try to start PADS from the my java program i.e.

Process proc=Runtime.getRuntime().exec("pads restart");

It throws the error in log that FATAL error ! you not root and permission denied.

Then I tried the same with sudo

Process proc=Runtime.getRuntime().exec("sudo pads restart";

Here it create another two process extra
1 for stop the pads
2) for start the pads

It does not kill the previous process of PADS .and both the process get hung.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved