Sponsored Content
Full Discussion: java on unix
Top Forums UNIX for Advanced & Expert Users java on unix Post 302105201 by cbkihong on Wednesday 31st of January 2007 08:33:48 AM
Old 01-31-2007
That really depends on the package you are using, whether they take advantage of platform-dependent features. Those using JNI, for instance, have platform dependent sections. But I guess most Java packages are platform independent, so you may probably assume so.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

execute command unix with java:possible or not?

hi everybody, i have a small unix script and i want to use it with java, so how can i executte unix command with java (if it is possible): in fact i want to use some values returned by this script with java swings. is it possible (of course everything is possible) but how can i do? thank you in... (4 Replies)
Discussion started by: mips
4 Replies

2. UNIX for Advanced & Expert Users

login to unix using java

Hey..i need some assistance to login to unix using a java application. The point is, i need to read a particular file in unix using a java application on windows. (2 Replies)
Discussion started by: dowell
2 Replies

3. Shell Programming and Scripting

Return value from UNIX to JAVA

Hi all, is there any way to return value from UNIX to JAVA application. I have my source code like this: application.java Runtime runtime = Runtime.getRuntime(); Process p = runtime.exec(myscript); myscript.sh text="Hello World" echo $text How to return the "Hello World"... (3 Replies)
Discussion started by: suigion
3 Replies

4. Solaris

Java with Unix

Hello Everyone, I had a question which i would like to put over here. I am on the track understanding and learning about Solaris I have been learning for the past 3 months and at this stage i have realized to really master Unix, we can`t keep a blind eye to programming language. I wish to... (1 Reply)
Discussion started by: akash_wish
1 Replies

5. Programming

Upgrading Java 1.4.1 to 1.4.2 in UNIX

Hi, I have got java 1.4.1 in my unix server, i wish to upgrade it to 1.4.2 version. I know how to do that in Windows, but it is the first time i am doing it in UNIX. Please tell me how to do it from command line? Are there any environment variable to be set in unix as in windows? Thanks in... (0 Replies)
Discussion started by: macmohanin
0 Replies

6. Programming

Java can call C under Unix?

Under windows environment,I can compile C code into dll,then I can use Java to call this dll. I want to know whether Java can call C under Unix environment? How to do it? Where can I get example Java and C code? Thanks (1 Reply)
Discussion started by: konvalo
1 Replies

7. Programming

Run Unix commands from Java

Greeings all Im trying to excute a command from Java and direct the output to the main output screen or to another file .... can you please help with this ? can I use filewriter for this ? Here is my code.... import java.io.BufferedReader; import java.io.File; import java.io.FileWriter;... (3 Replies)
Discussion started by: yahyaaa
3 Replies

8. UNIX for Dummies Questions & Answers

How to specify Java System Properties in UNIX?

I am setting up Kerberos authentication and this is one of the steps: 1. Open the JBoss startup script. 2. Add the following Java System Properties -Djava.security.krb5.conf=/disk01/kerb/krb5.conf -Djavax.security.auth.useSubjectCredsOnly=false I added these 2 lines and it works in a... (0 Replies)
Discussion started by: shoefiend
0 Replies

9. Programming

Need best forum site for java (as for unix its unix.com)

Hi All, Can anyone help me for knowing the java best side forums. where i will get a quick responce like here , as i am having lot of question. Thanks (1 Reply)
Discussion started by: aish11
1 Replies

10. UNIX for Dummies Questions & Answers

running unix command from java

Hi All, I have been struggling for a week trying to run a unix command from my java program. the unix command is: ssh dmdev3@tsapid01-zt3d01 ':> /t3/envs/dmdev3/test/file_list.txt' when i try to run this command directly on my unix console, it works perfectly. but when i try it form... (12 Replies)
Discussion started by: madhu_sharan
12 Replies
platform(n)						       Tcl Bundled Packages						       platform(n)

__________________________________________________________________________________________________________________________________________________

NAME
platform - System identification support code and utilities SYNOPSIS
package require platform ?1.0.4? platform::generic platform::identify platform::patterns identifier _________________________________________________________________ DESCRIPTION
The platform package provides several utility commands useful for the identification of the architecture of a machine running Tcl. Whilst Tcl provides the tcl_platform array for identifying the current architecture (in particular, the platform and machine elements) this is not always sufficient. This is because (on Unix machines) tcl_platform reflects the values returned by the uname command and these are not standardized across platforms and architectures. In addition, on at least one platform (AIX) the tcl_platform(machine) contains the CPU serial number. Consequently, individual applications need to manipulate the values in tcl_platform (along with the output of system specific utilities) - which is both inconvenient for developers, and introduces the potential for inconsistencies in identifying architectures and in naming con- ventions. The platform package prevents such fragmentation - i.e., it establishes a standard naming convention for architectures running Tcl and makes it more convenient for developers to identify the current architecture a Tcl program is running on. COMMANDS
platform::identify This command returns an identifier describing the platform the Tcl core is running on. The returned identifier has the general for- mat OS-CPU. The OS part of the identifier may contain details like kernel version, libc version, etc., and this information may con- tain dashes as well. The CPU part will not contain dashes, making the preceding dash the last dash in the result. platform::generic This command returns a simplified identifier describing the platform the Tcl core is running on. In contrast to platform::identify it leaves out details like kernel version, libc version, etc. The returned identifier has the general format OS-CPU. platform::patterns identifier This command takes an identifier as returned by platform::identify and returns a list of identifiers describing compatible architec- tures. KEYWORDS
operating system, cpu architecture, platform, architecture platform 1.0.4 platform(n)
All times are GMT -4. The time now is 07:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy