Solved Need help with a .JAR file...

t4akawolf

Banned
Local time
1:50 AM
Messages
72
Location
Visakhapatnam, India
Ok, there's this *.jar file which I used to have. I extracted the files from it with WinRAR just to see what was inside but, me being the idiot I am, I forgot to uncheck 'Delete files after extraction' so now I have a bunch of files (all *.dat I think) and two or three folders (META-INF or something).

So can anyone please tell me how to 're-compress' or 'merge' or 'convert' these files into a single *.jar file? I tried compressing them into *.zip and renaming the extension to *.jar but I remember the actual *.jar being 800kb or something but the *.zip/jar file is 1.1mb.

Help?
 

My Computer

Computer Manufacturer/Model Number
Intel DG31PR
OS
Windows 7 Ultimate x32 (UPDATE: Now x64!)
CPU
Intel(R) Core(TM)2 Duo CPU - E4600 @ 2.40GHz (2CPUs)
Motherboard
Intel DG31PR
Memory
4096 RAM
Graphics Card(s)
ATI Radeon HD 4350 1GB DDR2
Sound Card
In-built
Monitor(s) Displays
Generic Pnp Monitor 1024x768 (32 bit) (85Hz)
Screen Resolution
1024x768
Hard Drives
[s]250GB HDD[/s] 1TB HDD + 150GB Ext + 4GB PD
PSU
450W
Case
Uhm, a normal one I guess
Cooling
No cooling thingamabobs installed
Keyboard
MS Standard PS/2 Keyboard
Mouse
MS HID Compliant Mouse
Internet Speed
256Kbps-768Kbps
Other Info
Creative 2.1 Speakers
Seriously? No one??

Make a new Windows compressed .zip folder, place your files etc. in that .zip folder. Change the extension to .jar. I know it's the same info as you posted, but I used to do it that way years back with Firefox
 

My Computer

Computer Manufacturer/Model Number
Averatec 6130HS-20
OS
Windows 7 Professional 32-bit (6.1, Build 7600)
CPU
Intel(R) Pentium(R) 4 3.00 GHz HT
Memory
2.0 GB
Graphics Card(s)
ATI Mobility Radeon 9600 64MB
Sound Card
Realtek AC'97 Audio
Screen Resolution
1280 x 800
Hard Drives
Seagate 96023A 60GB 7200RPM -
Seagate FreeAgentDesktop 250GB
Cooling
20 Inch Box Fan
Mouse
Targus PAWM10 Wireless Optical Laptop Mouse
He's right...all a jar really is: a renamed Zip archive
The difference in size is probably not the different compression setting but rather any file you additionally compressed into it. (it wouldn't hurt anything since it's not called by the original XMLs ;)

-DG
 

My Computer

Computer Manufacturer/Model Number
HP m8000n
OS
Windows 7 Ultimate x86
CPU
DualCore AMD Athlon 64 X2, 2600 MHz 5200+
Motherboard
Asus M2N68-LA (Narra)
Memory
Samsung 2GB DDR2
Graphics Card(s)
Onboard NVIDIA GeForce 6150SE nForce 430
Sound Card
Onboard nVIDIA nForce 6100-430 (MCP61P)
Monitor(s) Displays
Westinghouse 19" LED
Screen Resolution
1280x1024
Hard Drives
SATA II Seagate Barracuda 500GB
USB II WD Elements 500GB
USB II WD My Book 1TB
USB II WD My Book 2TB
PSU
Stock (HP)
Case
Stock (HP)
Cooling
Stock
Keyboard
Logitech Classic KB 200
Mouse
Standard HP opticle USB mouse
But the thing is, I know I should have mentioned this in my post, the thing is that it's a mobile application. You know, a mobile game in *.jar format. And my mobile doesn't accept any application which is more than 1mb.

If all the data in that file could be compressed into 800kb in *.jar format, and if *.jar is nothing but a renamed *.zip, then why is it that the *.zip file is 1.1mb?
 

My Computer

Computer Manufacturer/Model Number
Intel DG31PR
OS
Windows 7 Ultimate x32 (UPDATE: Now x64!)
CPU
Intel(R) Core(TM)2 Duo CPU - E4600 @ 2.40GHz (2CPUs)
Motherboard
Intel DG31PR
Memory
4096 RAM
Graphics Card(s)
ATI Radeon HD 4350 1GB DDR2
Sound Card
In-built
Monitor(s) Displays
Generic Pnp Monitor 1024x768 (32 bit) (85Hz)
Screen Resolution
1024x768
Hard Drives
[s]250GB HDD[/s] 1TB HDD + 150GB Ext + 4GB PD
PSU
450W
Case
Uhm, a normal one I guess
Cooling
No cooling thingamabobs installed
Keyboard
MS Standard PS/2 Keyboard
Mouse
MS HID Compliant Mouse
Internet Speed
256Kbps-768Kbps
Other Info
Creative 2.1 Speakers
But the thing is, I know I should have mentioned this in my post, the thing is that it's a mobile application. You know, a mobile game in *.jar format. And my mobile doesn't accept any application which is more than 1mb.

If all the data in that file could be compressed into 800kb in *.jar format, and if *.jar is nothing but a renamed *.zip, then why is it that the *.zip file is 1.1mb?

Hello!

You are sure no extra files have crept in? Otherwise, you could quickly give Shadow Explorer a go. ShadowExplorer.com - About

Just navigate to the location, find the .jar, right click on it, export.

It works very well. I have used it once or twice.

Give it a whorl!

Richard
 

My Computer

Computer Manufacturer/Model Number
Dell XPS 420
OS
Vista Home Premium x86 SP2
CPU
Intel Core 2 Quad Q9300 2.50GHz
Motherboard
Stock Dell 0TP406
Memory
4 gb (DDR2 800) 400MHz
Graphics Card(s)
ATI Radeon HD 3870 (512 MBytes)
Monitor(s) Displays
1 x Dell 2007FP and 1 x (old) Sonic flat screen
Screen Resolution
1600 x 1200 and 1280 x 1204
Hard Drives
1 x 640Gb (SATA 300) Western Digital: WDC WD6400AAKS-75A7B0 1 x 1Tb (SATA 600) Western Digital: Caviar Black, SATA 6GB/S, 64Mb cache, 8ms Western Digital: WDC WD1002FAEX-00Z3A0 ATA Device
Case
Dell XPS 420
Cooling
Stock Fan
Keyboard
Dell Bluetooth
Mouse
Advent Optical ADE-WG01 (colour change light up)
Internet Speed
Varies from 10kb/s to 170kb/s. So unreliable it is not funny
Other Info
ASUS USB 3.0 5Gbps/SATA 6Gbps - PCI-Express Combo Controller Card (U3S6)
Hello!

You are sure no extra files have crept in? Otherwise, you could quickly give Shadow Explorer a go. ShadowExplorer.com - About

Just navigate to the location, find the .jar, right click on it, export.

It works very well. I have used it once or twice.

Give it a whorl!

Richard

Hello!

I am sure no extra files have crept in.

Anyway, thank you!

T4
 

My Computer

Computer Manufacturer/Model Number
Intel DG31PR
OS
Windows 7 Ultimate x32 (UPDATE: Now x64!)
CPU
Intel(R) Core(TM)2 Duo CPU - E4600 @ 2.40GHz (2CPUs)
Motherboard
Intel DG31PR
Memory
4096 RAM
Graphics Card(s)
ATI Radeon HD 4350 1GB DDR2
Sound Card
In-built
Monitor(s) Displays
Generic Pnp Monitor 1024x768 (32 bit) (85Hz)
Screen Resolution
1024x768
Hard Drives
[s]250GB HDD[/s] 1TB HDD + 150GB Ext + 4GB PD
PSU
450W
Case
Uhm, a normal one I guess
Cooling
No cooling thingamabobs installed
Keyboard
MS Standard PS/2 Keyboard
Mouse
MS HID Compliant Mouse
Internet Speed
256Kbps-768Kbps
Other Info
Creative 2.1 Speakers
Thanks everybody, but I just found the original *.jar file in a backup drive! Once again, thanks for all your help!

Oh btw, has anyone here heard of the mjBook application?
 

My Computer

Computer Manufacturer/Model Number
Intel DG31PR
OS
Windows 7 Ultimate x32 (UPDATE: Now x64!)
CPU
Intel(R) Core(TM)2 Duo CPU - E4600 @ 2.40GHz (2CPUs)
Motherboard
Intel DG31PR
Memory
4096 RAM
Graphics Card(s)
ATI Radeon HD 4350 1GB DDR2
Sound Card
In-built
Monitor(s) Displays
Generic Pnp Monitor 1024x768 (32 bit) (85Hz)
Screen Resolution
1024x768
Hard Drives
[s]250GB HDD[/s] 1TB HDD + 150GB Ext + 4GB PD
PSU
450W
Case
Uhm, a normal one I guess
Cooling
No cooling thingamabobs installed
Keyboard
MS Standard PS/2 Keyboard
Mouse
MS HID Compliant Mouse
Internet Speed
256Kbps-768Kbps
Other Info
Creative 2.1 Speakers
Back
Top