Sponsored Content
Operating Systems Solaris error during install jdk 5.0.11 packages Post 302327394 by fpmurphy on Sunday 21st of June 2009 09:19:17 AM
Old 06-21-2009
Are you on SPARC or Intel architecture?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Question about install JDK on SCO Unix

I try to run java file on SCO Unix, but my Unix doesn't setup with JDK environment. I go to sun.com to download JDK for SCO Unix, but there is only JDK for HP-UNIX, is it ok for SCO Unix? If it's ok, how can I install it to my Unix after I download? If it's not ok, How can I do to run java file in... (0 Replies)
Discussion started by: wendyz
0 Replies

2. Shell Programming and Scripting

Script to install jdk

Hi, I need a shell script that would do silent installation of jdk on a linux machine. Can anyone help me with this? Thanx Sunny (6 Replies)
Discussion started by: eamani_sun
6 Replies

3. UNIX for Dummies Questions & Answers

Download & install JDK 1.6

Hi.. I want to download & install JDK 1.6 for linux so please help me where i can downlod it free Regards Rinku Garg (1 Reply)
Discussion started by: rinkugarg
1 Replies

4. Shell Programming and Scripting

How to Upgrade Jdk After install in linux

hii... i want to upgrade my java version 1.4.2 to 1.6 in linux plateform after installing JDK. so what are the steps & commands in linux to upgrade it . Please Help me ... (1 Reply)
Discussion started by: rinkugarg
1 Replies

5. Solaris

Help required to install packages

Hi All, I was told to install multiple packages on my solaris server. Is it possible to install multiple packages from a directory or CD. Or I need to install one by one. Please suggest. Thanks, Deepak (1 Reply)
Discussion started by: naw_deepak
1 Replies

6. Programming

How to install openGL packages?

Hi, Any one help me regarding how to install openGL packages to work in linux. And i installed some of the packages(gl,glu), but i don't know whether they are installed are not .. Which command is should use to check whether openGL is installed are not .. I am Thankful for any kind of... (3 Replies)
Discussion started by: Ravikishore
3 Replies

7. Shell Programming and Scripting

How to install jdk 6u17 in a prompt-less script

I came across this site while Googling for how to silently install JDK 6u17. I didn't find a solution, but I came up with this hack so I thought I'd post it here: The trick is to just temporarily disable the "more" application: ]# chmod u+x jdk-6u17-linux-x64-rpm.bin ]# # Prevent prompts...... (0 Replies)
Discussion started by: mhart
0 Replies

8. Shell Programming and Scripting

how to Install jdk.bin using shell script with auto yes/no?

#!/bin/sh echo "Installing Java!!!" cd /opt echo "Want to give execute Permissions to java!!!" chmod 755 jdk-6u7-linux-i586.bin echo "Executing the jdk script" ./jdk-6u7-linux-i586.bin This is the shell commands I am using... I want to know how to give answer to yes and no automatically... (6 Replies)
Discussion started by: sandeepbharmori
6 Replies

9. Solaris

How to install java (jdk-74) on solaris 10?

What kind of required java type for installed? which address link, i need to download the package. i have zcat this version jdk-7-solaris-sparc.tar.Z and then installed each the packages with pkgadd -d . , but my java version still java full version "1.5.0_24-b02".is it need doanything after... (1 Reply)
Discussion started by: aagusman
1 Replies

10. Fedora

Fedora: Uninstall Java JDK 1.8 and install Oracle Java 1.7.15

Hi All, I have just downloaded fedora 27 iso and set it up in virtual box. I want to learn Hadoop so trying to install Apache hadoop. Before all those I have to install Oracle Java 1.7.15 (as mentioned in the Apache hadoop page). Can you please help me how to Uninstall currently installed... (6 Replies)
Discussion started by: TechGyaann
6 Replies
ARCH(3) 						   BSD Library Functions Manual 						   ARCH(3)

NAME
NXGetAllArchInfos, NXGetLocalArchInfo, NXGetArchInfoFromName, NXGetArchInfoFromCpuType, NXFindBestFatArch, NXCombineCpuSubtypes -- get archi- tecture information SYNOPSIS
#include <mach-o/arch.h> extern const NXArchInfo * NXGetAllArchInfos(void); extern const NXArchInfo * NXGetLocalArchInfo(void); extern const NXArchInfo * NXGetArchInfoFromName(const char *name); extern const NXArchInfo * NXGetArchInfoFromCpuType(cpu_type_t cputype, cpu_subtype_t cpusubtype); extern struct fat_arch * NXFindBestFatArch(cpu_type_t cputype, cpu_subtype_t cpusubtype, struct fat_arch *fat_archs, unsigned long nfat_archs); extern cpu_subtype_t NXCombineCpuSubtypes(cpu_type_t cputype, cpu_subtype_t cpusubtype1, cpu_subtype_t cpusubtype2); DESCRIPTION
These functions are intended for use in programs that have to deal with universal files or programs that can target multiple architectures. Typically, a program will use a command-line argument that starts with ``-arch name'', where this specifies an architecture. These functions and data structures provide some help for processing architecture flags and then processing the contents of a universal file. The structure NXArchInfo is defined in <mach-o/arch.h>: typedef struct { const char *name; cpu_type_t cputype; cpu_subtype_t cpusubtype; enum NXByteOrder byteorder; const char *description; } NXArchInfo; It is used to hold the name of the architecture and the corresponding CPU type and CPU subtype, together with the architecture's byte order and a brief description string. The currently known architectures are: Name CPU Type CPU Subtype Description ppc CPU_TYPE_POWERPC CPU_SUBTYPE_POWERPC_ALL PowerPC ppc64 CPU_TYPE_POWERPC64 CPU_SUBTYPE_POWERPC64_ALL PowerPC 64-bit i386 CPU_TYPE_I386 CPU_SUBTYPE_I386_ALL Intel 80x86 x86_64 CPU_TYPE_X86_64 CPU_SUBTYPE_X86_64_ALL Intel x86-64 m68k CPU_TYPE_MC680x0 CPU_SUBTYPE_MC680x0_ALL Motorola 68K hppa CPU_TYPE_HPPA CPU_SUBTYPE_HPPA_ALL HP-PA i860 CPU_TYPE_I860 CPU_SUBTYPE_I860_ALL Intel 860 m88k CPU_TYPE_MC88000 CPU_SUBTYPE_MC88000_ALL Motorola 88K sparc CPU_TYPE_SPARC CPU_SUBTYPE_SPARC_ALL SPARC ppc601 CPU_TYPE_POWERPC CPU_SUBTYPE_POWERPC_601 PowerPC 601 ppc603 CPU_TYPE_POWERPC CPU_SUBTYPE_POWERPC_603 PowerPC 603 ppc604 CPU_TYPE_POWERPC CPU_SUBTYPE_POWERPC_604 PowerPC 604 ppc604e CPU_TYPE_POWERPC CPU_SUBTYPE_POWERPC_604e PowerPC 604e ppc750 CPU_TYPE_POWERPC CPU_SUBTYPE_POWERPC_750 PowerPC 750 ppc7400 CPU_TYPE_POWERPC CPU_SUBTYPE_POWERPC_7400 PowerPC 7400 ppc7450 CPU_TYPE_POWERPC CPU_SUBTYPE_POWERPC_7450 PowerPC 7450 ppc970 CPU_TYPE_POWERPC CPU_SUBTYPE_POWERPC_970 PowerPC 970 i486 CPU_TYPE_I386 CPU_SUBTYPE_486 Intel 486 i486SX CPU_TYPE_I386 CPU_SUBTYPE_486SX Intel 486SX pentium CPU_TYPE_I386 CPU_SUBTYPE_PENT Intel Pentium i586 CPU_TYPE_I386 CPU_SUBTYPE_586 Intel 586 pentpro CPU_TYPE_I386 CPU_SUBTYPE_PENTPRO Intel Pentium Pro i686 CPU_TYPE_I386 CPU_SUBTYPE_PENTPRO Intel Pentium Pro pentIIm3 CPU_TYPE_I386 CPU_SUBTYPE_PENTII_M3 Intel Pentium II Model 3 pentIIm5 CPU_TYPE_I386 CPU_SUBTYPE_PENTII_M5 Intel Pentium II Model 5 pentium4 CPU_TYPE_I386 CPU_SUBTYPE_PENTIUM_4 Intel Pentium 4 m68030 CPU_TYPE_MC680x0 CPU_SUBTYPE_MC68030_ONLY Motorola 68030 m68040 CPU_TYPE_MC680x0 CPU_SUBTYPE_MC68040 Motorola 68040 hppa7100LC CPU_TYPE_HPPA CPU_SUBTYPE_HPPA_7100LC HP-PA 7100LC The first set of entries are used for the architecture family. The second set of entries are used for a specific architecture, when more than one specific architecture is supported in a family of architectures. NXGetAllArchInfos() returns a pointer to an array of all known NXArchInfo structures. The last NXArchInfo is marked by a NULL name. NXGetLocalArchInfo() returns the NXArchInfo for the local host, or NULL if none is known. NXGetArchInfoFromName() and NXGetArchInfoFromCpuType() return the NXArchInfo from the architecture's name or CPU type/CPU subtype combina- tion. A CPU subtype of CPU_SUBTYPE_MULTIPLE can be used to request the most general NXArchInfo known for the given CPU type. NULL is returned if no matching NXArchInfo can be found. NXFindBestFatArch() is passed a CPU type and CPU subtype and a set of fat_arch structs. It selects the best one that matches (if any), and returns a pointer to that fat_arch struct (or NULL). The fat_arch structs must be in the host byte order and correct such that fat_archs really points to enough memory for nfat_archs structs. It is possible that this routine could fail if new CPU types or CPU subtypes are added and an old version of this routine is used. But if there is an exact match between the CPU type and CPU subtype and one of the fat_arch structs, this routine will always succeed. NXCombineCpuSubtypes() returns the resulting CPU subtype when combining two different CPU subtypes for the specified CPU type. If the two CPU subtypes can't be combined (the specific subtypes are mutually exclusive), -1 is returned, indicating it is an error to combine them. This can also fail and return -1 if new CPU types or CPU subtypes are added and an old version of this routine is used. But if the CPU sub- types are the same, they can always be combined and this routine will return the CPU subtype passed in. SEE ALSO
arch(1) July 28, 2005
All times are GMT -4. The time now is 09:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy