Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Classpath / JAR-File

Empfohlene Antworten

Tach zusammen,

hab folgendes Problem hab Klassen erstellt und diese in ein Jar-File gepackt. Nun möchte ich diese natürlich in anderen Programmen benutzt und dazu setze ich CLASSPATH=.;C:\MyPack.jar .

Wenn ich aber nun das erstellte Programm in ein JAR verpacke und dieses dann auf einem anderen

PC starte, kennt er ja MyPack.jar nicht mehr?

Wie schaffe ich es das Programm so "auszuliefern", dass ich nicht extra die Datei MyPack.jar kopieren bzw. den Classpath setzen muss.

Mfg

Dalton

Ich werde leider nicht ganz schlau aus deinem Post.

Also wenn ich Dich richtig verstehe, dann ist es so, daß deine Application z.B. JApp.jar ist und diese braucht stuff as MyPack.jar, ja?

K, dann must Du nur

Class-Path: MyPack.jar

in das Manifest von JApp.jar schreiben. Dann findet es JApp.jar. Natürlich muß MyPack.jar dann im gleichen Verzeichnis liegen. Wenn du es in das unterverzeichnis dat legst mußt Du folgendes ins Manifest schreiben:

Class-Path: dat/MyPack.jar

Ich hoffe Du meintest das so.

ja so ähnlich meinte ich es, dank dir,

allerdings möchte ich dieses MyPack.jar auch ich das Jar-File dieser Application packen!

MfG...

Eine jar in eine jar packen... da ist nicht normal. Dann doch lieber die eine jar entpacken und die packages die dadrin sind in das "haupt jar" kloppen

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.