Sponsored Content
Full Discussion: Java expiry information
Top Forums UNIX for Beginners Questions & Answers Java expiry information Post 303005823 by jim mcnamara on Monday 23rd of October 2017 10:07:00 PM
Old 10-23-2017
I do not think it stops functioning and I did not know that, so my advice was not correct.
I apologize for the incorrect information.

Here is the oracle statement on java eol dates. AFAIK they are just that, dates.


Oracle Java SE Support Roadmap

Hmm.
Code:
# J == path/to/java
 strings $J | grep '[0-9]{2}\/[0-9]{2}\/[0-9]{4}'

So it is not embedded as a human readable date in the executable image I have
java version == 8-151

Last edited by jim mcnamara; 10-23-2017 at 11:16 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

password expiry

Hi, under SUN Unix, in which file the expiry date of a user password is indicated ? Many thanks. (2 Replies)
Discussion started by: big123456
2 Replies

2. Solaris

passwd expiry

any one can help me from where this command passwd -s root fetching from...? so that i can write the script for cheking root password expiry which are expiring before 2 days and sent a mail... Please give me the script if u have....! :b: Solaris any version... (2 Replies)
Discussion started by: bullz26
2 Replies

3. HP-UX

How to set an non-expiry in HP-Unix

Hi all, want to know how to reset the password in non-expiry in HP-unix....? please some one hwlp me...! :) (2 Replies)
Discussion started by: bullz26
2 Replies

4. HP-UX

Certificate Expiry Dates

Hi, we are having the installed cerificates in our unix server's. The certificates are in following format : cacert.pem,cert8.db,ois294.sem,CertGenCAKey.der,ss_keystore.jks So i want to know the Expiry date for these certificates. how to get the valid FROM to TO dates for these kind of... (1 Reply)
Discussion started by: srujana
1 Replies

5. Shell Programming and Scripting

expiry of a linux id?

Hi, Can anyone suggest, how or from where we can understand the expiry time of a linux id, whether login or ftp? My concern is like, i want to know when the ftpid configured on an automated system will expire, so that i can configure some notice or email mentioning that the particular id... (1 Reply)
Discussion started by: DILEEP410
1 Replies

6. Solaris

Notification of password expiry.

Hi, Is there any way of sending an email to a number of users indicating that the passwords of user accounts will expire? Currently we have a test server with a number of oracle test accounts on it. Each of these accounts correspond to an instance of Oracle on the server. These... (2 Replies)
Discussion started by: sparcman
2 Replies

7. Solaris

Notification of password expiry.

Hi, Is there any way of sending an email to a number of users indicating that the passwords of user accounts will expire? Currently we have a test server with a number of oracle test accounts on it. Each of these accounts correspond to an instance of Oracle on the server. These... (2 Replies)
Discussion started by: sparcman
2 Replies

8. Programming

Making an information matrix using Java

Hello all, I'm doing some research in Biostatistics this summer studying chloroplast genomes. I have 19 text files that look exactly like this: Name: Marchantia polymorpha FileName: NC_001319 Bases: 121024 Genes: rps12 <85..842 rps7 (892..1359) ndhB (1514..3555)... (0 Replies)
Discussion started by: akreibich07
0 Replies

9. AIX

User expiry

Hi When a new user is created and their password is set to require changing at first login, is it possible to expire the account if they don't login whithin 10 days ? Thanks Nigel (4 Replies)
Discussion started by: garwoon
4 Replies

10. Shell Programming and Scripting

passwd expiry notification

Hi, I'm trying to set password expiry notification. But unable to do so. >I do not have permission for "passwd -s" on Sun OS(SunOS 5.9 Generic_122300-60 sun4u sparc SUNW,Sun-Fire-480R). >Also tried "chage -l <username>" but it is not configured. I'm just an appln user in that system. Could... (2 Replies)
Discussion started by: sam_bd
2 Replies
Cache::Entry(3pm)					User Contributed Perl Documentation					 Cache::Entry(3pm)

NAME
Cache::Entry - interface for a cache entry SYNOPSIS
my Cache::Entry $entry = $cache->entry( $key ) my $data; if ($entry->exists()) { $data = $entry->get(); } else { $data = get_some_data($key); $entry->set($data, '10 minutes'); } DESCRIPTION
Objects derived from Cache::Entry represent an entry in a Cache. Methods are provided that act upon the data in the entry, and allow you to set things like the expiry time. Users should not create instances of Cache::Entry directly, but instead use the entry($key) method of a Cache instance. METHODS
my $cache = $e->cache() Returns a reference to the cache object this entry is from. my $key = $e->key() Returns the cache key this entry is associated with. my $bool = $e->exists() Returns a boolean value (1 or 0) to indicate whether there is any data present in the cache for this entry. $e->set( $data, [ $expiry ] ) Stores the data into the cache. The data must be a scalar (if you want to store more complex data types, see freeze and thaw below). The expiry time may be provided as an optional 2nd argument and is in the same form as for 'set_expiry($time)'. my $data = $e->get() Returns the data from the cache, or undef if the entry doesn't exist. my $size = $e->size() Returns the size of the entry data, or undef if the entry doesn't exist. $e->remove() Clear the data for this entry from the cache. my $expiry = $e->expiry() Returns the expiry time of the entry, in seconds since the epoch. $e->set_expiry( $time ) Set the expiry time in seconds since the epoch, or alternatively using a string like '10 minutes'. Valid units are s, second, seconds, sec, m, minute, minutes, min, h, hour, hours, w, week, weeks, M, month, months, y, year and years. You can also specify an absolute time, such as '16 Nov 94 22:28:20' or any other time that Date::Parse can understand. Finally, the strings 'now' and 'never' may also be used. my $fh = $e->handle( [$mode, [$expiry] ] ) Returns an IO::Handle by which data can be read, or written, to the cache. This is useful if you are caching a large amount of data - although it should be noted that only some cache implementations (such as Cache::File) provide an efficient mechanism for implementing this. The optional mode argument can be any of the perl mode strings as used for the open function '<', '+<', '>', '+>', '>>' and '+>>'. Alternatively it can be the corresponding fopen(3) modes of 'r', 'r+', 'w', 'w+', 'a' and 'a+'. The default mode is '+<' (or 'r+') indicating reading and writing. The second argument is used to set the expiry time for the entry if it doesn't exist already and the handle is opened for writing. It is also used to reset the expiry time if the entry is truncated by opening in the '>' or '+>' modes. If the expiry is not provided in these situations then the default expiry time for the cache is applied. Cache implementations will typically provide locking around cache entries, so that writers will have have an exclusive lock and readers a shared one. Thus the method get() (or obtaining another handle) should be avoided whilst a write handle is held. Using set() or remove(), however, should be supported. These clear the current entry and whilst they do not invalidate open handles, those handle will from then on refer to old data and any changes to the data will be discarded. STORING VALIDITY OBJECTS
There are two additional set & get methods that can be used to store a validity object that is associated with the data in question. Typically this is useful in conjunction with a validate_callback, and may be used to store a timestamp or similar to validate against. The validity data stored may be any complex data that can be serialized via Storable. $e->validity() $e->set_validity( $data ) STORING COMPLEX OBJECTS
The set and get methods only allow for working with simple scalar types, but if you want to store more complex types they need to be serialized first. To assist with this, the freeze and thaw methods are provided. They are simple wrappers to get & set that use Storable to do the serialization and de-serialization of the data. Note, however, that you must be careful to ONLY use 'thaw' on data that was stored via 'freeze'. Otherwise the stored data wont actually be in Storable format and it will complain loudly. $e->freeze( $data, [ $expiry ] ) Identical to 'set', except that data may be any complex data type that can be serialized via Storable. $e->thaw() Identical to 'get', except that it will return a complex data type that was set via 'freeze'. SEE ALSO
Cache, Cache::File AUTHOR
Chris Leishman <chris@leishman.org> Based on work by DeWitt Clinton <dewitt@unto.net> COPYRIGHT
Copyright (C) 2003-2006 Chris Leishman. All Rights Reserved. This module is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either expressed or implied. This program is free software; you can redistribute or modify it under the same terms as Perl itself. $Id: Entry.pm,v 1.8 2006/01/31 15:23:58 caleishm Exp $ perl v5.12.4 2011-08-05 Cache::Entry(3pm)
All times are GMT -4. The time now is 01:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy