cameron weirs

Greenhorn
+ Follow
since May 29, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by cameron weirs

Hi!
Please try to open the file on vi editor on solaris or bsd .
regards'
thanx aleksey presently i m managing in the issue uing JNI only . So i was trying to figure out if some direct support is there .

cindy , ur argumemnt is making a sense ok Vb is for microsoft platforms but we know that all platforms have their versions of JVM which are tailored to work on and in turn interact with that os. so i was thinking ...that way ..
thanx and regards ..
--cameron
22 years ago
Hi! All,
can anyone tell me how to get a Volume Serial number On the Drives in a Java Application, actually i m Looking for a parallel method to getVolumeInformation(driveLabel) which is in VB .
Thanks in advance.
--Cameron
22 years ago
Hi!
is it possible to get the volume serial numbers on the various partitions through java.
exactly i m looking for a parallel method to getVolumeInformation(partitionlabel) which is in VB5.0 and 6.0
thanks in advance.
regards..
cameron
22 years ago
Hi!
Can We somehow get the volume label number on the drives
in java Application through API .
Please note in VB 5.0 and above there is method called getVolumeLabel(...)(might be not exact name but related ..) which returns this info.
regards'
c weirs.
22 years ago
Hi! All,
can somebody tell how to copy files in one directory to other directory in a java application . using Runtime and exec is not working on all platforms.
any idea in this regard will be highly appreciated.
thanks and regards ..
--cameron
22 years ago
hi!
Java achieves platform independency through the use of byte codes
which are as well a instruction for a virtual machine as your machine code is for a particular machine.so, now as there are wide variety of machines in the market place so there machine code instructions also differ thats why u need different compilers for different platforms.Now as java compiler which is again a platform specific compiles youyr source code into byte codes (and not machine code) so this is now a instruction set for any java virtual machine (which is again platform dependent).
so as u see the level where byte code stands it stands platform independent.
i hope this makes some sense..
--cameron
In brief in thread a if u spawned a thread b and want that thread a should not terminate untill thread b (as u might be expecting some output from thread b to be used in a) u have to call b.join() in a ,,this join() will not return untill the thread on which it is called is terminated ..
Peter already told the essence of multithreading for improving performance ,
as per my experience i believe u gotta know what task to put on how much priority thread and synchrize them properly so as to add positively towards performance of your application..
A group of poorly prioritized threads might slow your application to the level of unacceptable limits ..