You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and get full instructions, but to generate 5 Random-based UUIDs, you would use:
149
150
150
-
java -jar target/java-uuid-generator-4.1.2-SNAPSHOT.jar -c 5 r
151
+
java -jar target/java-uuid-generator-5.0.0-SNAPSHOT.jar -c 5 r
151
152
152
153
(where `-c` (or `--count`) means number of UUIDs to generate, and `r` means Random-based version)
153
154
154
155
NOTE: this functionality is included as of JUG 4.1 -- with earlier versions you would need a bit longer invocation as Jar metadata did not specify "Main-Class".
155
156
If so, you would need to use
156
157
157
-
java -cp target/java-uuid-generator-4.1.2-SNAPSHOT.jar com.fasterxml.uuid.Jug -c 5 r
158
+
java -cp target/java-uuid-generator-5.0.0-SNAPSHOT.jar com.fasterxml.uuid.Jug -c 5 r
158
159
159
160
## Compatibility
160
161
161
162
JUG versions 3.1 and later require JDK 1.6 to work, mostly to be able to access local Ethernet MAC address.
162
163
Earlier versions (3.0 and before) worked on 1.4 (which introduced `java.util.UUID`).
163
164
165
+
JUG versions 5.0 and later require JDK 8 to work.
166
+
164
167
## Known Issues
165
168
166
169
JDK's `java.util.UUID` has flawed implementation of `compareTo()`, which uses naive comparison
0 commit comments