Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7817837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T06:22:36+00:00 2026-06-02T06:22:36+00:00

My Problem: error: object swing is not a member of package scala import scala.swing._

  • 0

My Problem:

error: object swing is not a member of package scala
import scala.swing._
^

When I try to start any GUI App with Scala. What I tryed up to now: call directly by the scala command, and precompile first by scalac and fsc, nothing works.

My System: an Ubuntu 11.10 Machine, with installed OpenJDK 6, OpenJDK 7, Oracle JDK 6 and the Scala-Packe from the Ubuntu Repositories, additionally I tryed the “new” Scala from the official Scala Homepage (scala-lang). The .deb-package fails to install, but the plain files from the *.tgz file works so far.

I tried every possible combination of those Software I have installed, no one works.

The Joke: on my Windows 7 Machine, the same code (dropbox-sync) works without any problems.

Any Ideas? Did I forget something?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T06:22:38+00:00Added an answer on June 2, 2026 at 6:22 am

    It is apparently not finding scala-swing.jar on the classpath. I’m not sure why this would be; it works on my system (still 11.04; don’t like Unity). Try adding it explicitly: -cp /wherever/oneiric-ocelot/puts/scala/lib/scala-swing.jar.

    If the file is not on your system, you can download it from the project webpage. (Click on the appropriate “latest release” buttons in the README, just under the title. Then download the jar.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Problem 1 Error: Microsoft JScript runtime error: '$.fn' is null or not an object
My problem is related to Fatal Git error when switching branch . I try
How can i solve this problem Error updating JScript IntelliSense: D:\myProject\js\jquery-1.3.2.js: Object doesn't support
As the title said, I got a problem! i encountered the RJS Error:[object error],the
I try to build an iPhone app with command line. I have a problem
import swing._ object PeerTest extends SimpleSwingApplication { def top = new MainFrame { val
I have a problem with IE causing two errors: 1. Object doesn't support this
Problem: Obscure error message http://img66.imageshack.us/img66/6746/confusedg.png Conditions: IE7, SP2, latest flash/java. Only reproducible on one
JSLint is giving me this error: Problem at line 11 character 33: Use the
I am new to QTP and I have a problem with error validation message.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.